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, destroy, doAdditonalConfigurerValidations, getAdditionalSpringFiles, getCurrentContextConfigurers, getDefaultConfigPackagePath, getDefaultSpringBeansPath, getModuleName, getProperties, getRunMode, getValidRunModes, getWebModuleConfiguration, initializeResourceLoaders, isExposeServicesOnBus, setModuleName, setProperties, setServletContext, setValidRunModes, start, stop, validateConfigurerStateisStarted, setStartedpublic KSBConfigurer()
public void addAdditonalToConfig()
addAdditonalToConfig in class ModuleConfigurerpublic List<String> getPrimarySpringFiles()
getPrimarySpringFiles in interface ConfigurergetPrimarySpringFiles in class ModuleConfigurerpublic boolean hasWebInterface()
ModuleConfigurerhasWebInterface in class ModuleConfigurerpublic boolean shouldRenderWebInterface()
ModuleConfigurerSubclasses can override this method if there are different requirements for inclusion of the web UI for the module.
shouldRenderWebInterface in class ModuleConfigurerprotected WebModuleConfiguration loadWebModule()
ModuleConfigurerloadWebModule in class ModuleConfigurerpublic Collection<ResourceLoader> getResourceLoadersToRegister() throws Exception
getResourceLoadersToRegister in class ModuleConfigurerExceptionpublic List<Lifecycle> loadLifecycles() throws Exception
loadLifecycles in interface ConfigurerloadLifecycles in class ModuleConfigurerExceptionprotected 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.SmartApplicationListenerpublic boolean supportsSourceType(Class<?> aClass)
supportsSourceType in interface org.springframework.context.event.SmartApplicationListenerpublic int getOrder()
getOrder in interface org.springframework.core.Orderedprotected void doAdditionalModuleStartLogic() throws Exception
doAdditionalModuleStartLogic in class ModuleConfigurerExceptionprotected void doAdditionalModuleStopLogic() throws Exception
doAdditionalModuleStopLogic in class ModuleConfigurerExceptionprotected 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.