public class KSBConfigurer extends ModuleConfigurer implements org.springframework.context.event.SmartApplicationListener
LOG
Constructor and Description |
---|
KSBConfigurer() |
Modifier and Type | Method and Description |
---|---|
void |
addAdditonalToConfig() |
protected void |
cleanUpConfiguration()
Because our configuration is global, shutting down Rice does not get rid of objects stored there.
|
protected void |
configureAlternateEndpoints() |
protected void |
configureDataSource() |
protected void |
configurePlatformTransactionManager() |
protected void |
configureScheduler() |
protected void |
doAdditionalContextStartedLogic() |
protected void |
doAdditionalContextStoppedLogic() |
protected void |
doAdditionalModuleStartLogic() |
protected void |
doAdditionalModuleStopLogic() |
List<AlternateEndpointLocation> |
getAlternateEndpointLocations() |
List<AlternateEndpoint> |
getAlternateEndpoints() |
DataSource |
getBamDataSource() |
org.quartz.Scheduler |
getExceptionMessagingScheduler() |
DataSource |
getMessageDataSource() |
DataSource |
getNonTransactionalMessageDataSource() |
int |
getOrder() |
org.springframework.transaction.PlatformTransactionManager |
getPlatformTransactionManager() |
List<String> |
getPrimarySpringFiles() |
DataSource |
getRegistryDataSource() |
Collection<ResourceLoader> |
getResourceLoadersToRegister() |
List<ServiceDefinition> |
getServices() |
boolean |
hasWebInterface()
Indicates whether or not this module has a web interface module.
|
protected boolean |
isBamEnabled() |
protected boolean |
isMessagePersistenceEnabled() |
List<Lifecycle> |
loadLifecycles() |
protected WebModuleConfiguration |
loadWebModule()
Subclasses can override the default implementation of this method if they want to provide a custom implementation
for loading the web module configuration.
|
void |
onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent) |
void |
setAlternateEndpointLocations(List<AlternateEndpointLocation> alternateEndpointLocations) |
void |
setAlternateEndpoints(List<AlternateEndpoint> alternateEndpoints) |
void |
setBamDataSource(DataSource bamDataSource) |
void |
setExceptionMessagingScheduler(org.quartz.Scheduler exceptionMessagingScheduler) |
void |
setMessageDataSource(DataSource messageDataSource) |
void |
setNonTransactionalMessageDataSource(DataSource nonTransactionalMessageDataSource) |
void |
setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager springTransactionManager) |
void |
setRegistryDataSource(DataSource registryDataSource) |
void |
setServices(List<ServiceDefinition> javaServices) |
boolean |
shouldRenderWebInterface()
This base implementation returns true when the module has a web interface and the
runMode is "local".
|
boolean |
supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> aClass) |
boolean |
supportsSourceType(Class<?> aClass) |
protected void |
validateServices(List<ServiceDefinition> services) |
addToConfig, afterPropertiesSet, createResourceLoader, destroy, doAdditonalConfigurerValidations, getAdditionalSpringFiles, getCurrentContextConfigurers, getDefaultConfigPackagePath, getDefaultSpringBeansPath, getModuleName, getProperties, getRunMode, getServletContext, getValidRunModes, getWebModuleConfiguration, initializeResourceLoaders, isExposeServicesOnBus, parseFileList, setModuleName, setProperties, setServletContext, setValidRunModes, start, stop, validateConfigurerState
isStarted, setStarted
public KSBConfigurer()
public void addAdditonalToConfig()
addAdditonalToConfig
in class ModuleConfigurer
public List<String> getPrimarySpringFiles()
getPrimarySpringFiles
in interface Configurer
getPrimarySpringFiles
in class ModuleConfigurer
public boolean hasWebInterface()
ModuleConfigurer
hasWebInterface
in class ModuleConfigurer
public boolean shouldRenderWebInterface()
ModuleConfigurer
Subclasses can override this method if there are different requirements for inclusion of the web UI for the module.
shouldRenderWebInterface
in class ModuleConfigurer
protected WebModuleConfiguration loadWebModule()
ModuleConfigurer
loadWebModule
in class ModuleConfigurer
public Collection<ResourceLoader> getResourceLoadersToRegister() throws Exception
getResourceLoadersToRegister
in class ModuleConfigurer
Exception
public List<Lifecycle> loadLifecycles() throws Exception
loadLifecycles
in interface Configurer
loadLifecycles
in class ModuleConfigurer
Exception
protected void validateServices(List<ServiceDefinition> services)
public void onApplicationEvent(org.springframework.context.ApplicationEvent applicationEvent)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
protected void doAdditionalContextStartedLogic()
protected void doAdditionalContextStoppedLogic()
public boolean supportsEventType(Class<? extends org.springframework.context.ApplicationEvent> aClass)
supportsEventType
in interface org.springframework.context.event.SmartApplicationListener
public boolean supportsSourceType(Class<?> aClass)
supportsSourceType
in interface org.springframework.context.event.SmartApplicationListener
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
protected void doAdditionalModuleStartLogic() throws Exception
doAdditionalModuleStartLogic
in class ModuleConfigurer
Exception
protected void doAdditionalModuleStopLogic() throws Exception
doAdditionalModuleStopLogic
in class ModuleConfigurer
Exception
protected boolean isMessagePersistenceEnabled()
protected boolean isBamEnabled()
protected void configureScheduler()
protected void configureDataSource()
protected void configurePlatformTransactionManager()
protected void configureAlternateEndpoints()
protected void cleanUpConfiguration()
public List<ServiceDefinition> getServices()
public void setServices(List<ServiceDefinition> javaServices)
public DataSource getMessageDataSource()
public void setMessageDataSource(DataSource messageDataSource)
public DataSource getNonTransactionalMessageDataSource()
public void setNonTransactionalMessageDataSource(DataSource nonTransactionalMessageDataSource)
public DataSource getRegistryDataSource()
public void setRegistryDataSource(DataSource registryDataSource)
public DataSource getBamDataSource()
public void setBamDataSource(DataSource bamDataSource)
public org.quartz.Scheduler getExceptionMessagingScheduler()
public void setExceptionMessagingScheduler(org.quartz.Scheduler exceptionMessagingScheduler)
public org.springframework.transaction.PlatformTransactionManager getPlatformTransactionManager()
public void setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager springTransactionManager)
public List<AlternateEndpointLocation> getAlternateEndpointLocations()
public void setAlternateEndpointLocations(List<AlternateEndpointLocation> alternateEndpointLocations)
public List<AlternateEndpoint> getAlternateEndpoints()
public void setAlternateEndpoints(List<AlternateEndpoint> alternateEndpoints)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.