Modifier and Type | Field and Description |
---|---|
protected static String |
DISABLED |
protected static String |
STARTED |
protected static String |
STARTING |
protected static String |
STOPPED |
protected static String |
STOPPING |
RESERVED_MODULE_NAMES
Constructor and Description |
---|
ClassLoaderModule(BusinessApplicationRegistry businessApplicationRegistry,
String moduleName) |
ClassLoaderModule(BusinessApplicationRegistry businessApplicationRegistry,
String moduleName,
ClassLoader classLoader,
ConfigPropertyLoader configPropertyLoader,
URL configUrl) |
protected static final String STOPPING
protected static final String STARTING
protected static final String STARTED
protected static final String STOPPED
protected static final String DISABLED
public ClassLoaderModule(BusinessApplicationRegistry businessApplicationRegistry, String moduleName)
public ClassLoaderModule(BusinessApplicationRegistry businessApplicationRegistry, String moduleName, ClassLoader classLoader, ConfigPropertyLoader configPropertyLoader, URL configUrl)
public void addModuleError(String message)
addModuleError
in interface Module
public void addModuleError(Throwable e)
public void clearModuleError()
clearModuleError
in interface Module
@PreDestroy public void destroy()
public BusinessApplication getBusinessApplication(String businessApplicationName)
getBusinessApplication
in interface Module
public List<String> getBusinessApplicationNames()
getBusinessApplicationNames
in interface Module
public Object getBusinessApplicationPlugin(BusinessApplication application, String executionId, String logLevel)
getBusinessApplicationPlugin
in interface Module
public Object getBusinessApplicationPlugin(String businessApplicationName, String executionId, String logLevel)
getBusinessApplicationPlugin
in interface Module
public PluginAdaptor getBusinessApplicationPluginAdaptor(BusinessApplication application, String executionId, String logLevel)
getBusinessApplicationPluginAdaptor
in interface Module
public PluginAdaptor getBusinessApplicationPluginAdaptor(String businessApplicationName, String executionId, String logLevel)
getBusinessApplicationPluginAdaptor
in interface Module
public BusinessApplicationRegistry getBusinessApplicationRegistry()
public List<BusinessApplication> getBusinessApplications()
getBusinessApplications
in interface Module
public ClassLoader getClassLoader()
getClassLoader
in interface Module
public ConfigPropertyLoader getConfigPropertyLoader()
public URL getConfigUrl()
getConfigUrl
in interface Module
public int getJarCount()
getJarCount
in interface Module
public List<URL> getJarUrls()
getJarUrls
in interface Module
public long getLastStartTime()
getLastStartTime
in interface Module
public AppLog getLog()
public String getModuleDescriptor()
getModuleDescriptor
in interface Module
public String getModuleError()
getModuleError
in interface Module
public String getModuleType()
getModuleType
in interface Module
public Map<String,Set<ResourcePermission>> getPermissionsByGroupName()
getPermissionsByGroupName
in interface Module
public Date getStartedDate()
getStartedDate
in interface Module
public long getStartedTime()
getStartedTime
in interface Module
public String getStatus()
public boolean hasBusinessApplication(String businessApplicationName)
hasBusinessApplication
in interface Module
public boolean isApplicationsLoaded()
isApplicationsLoaded
in interface Module
public boolean isGroupNameValid(String groupName)
public boolean isHasError()
public boolean isInitialized()
public boolean isRelaodable()
isRelaodable
in interface Module
public boolean isRemoteable()
isRemoteable
in interface Module
public void loadApplications()
loadApplications
in interface Module
protected void preLoadApplications()
public void restartDo()
public void setClassLoader(ClassLoader classLoader)
public void setConfigPropertyLoader(ConfigPropertyLoader configPropertyLoader)
protected void setConfigUrl(URL configUrl)
protected void setRemoteable(boolean remoteable)
public void setStartedDate(Date date)
public void setStatus(String status)
@PostConstruct public void start()
public void startDo()
public void stopDo()
Copyright © 2008–2017 Province of British Columbia. All rights reserved.