|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.lifecycle.BaseLifecycle org.kuali.rice.core.lifecycle.BaseCompositeLifecycle org.kuali.rice.core.config.ModuleConfigurer org.kuali.rice.ksb.messaging.config.KSBConfigurer
public class KSBConfigurer
Used to configure the embedded workflow. This could be used to configure embedded workflow programmatically but mostly this is a base class by which to hang specific configuration behavior off of through subclassing
Field Summary | |
---|---|
private List<AlternateEndpointLocation> |
alternateEndpointLocations
|
private List<AlternateEndpoint> |
alternateEndpoints
|
private org.quartz.Scheduler |
exceptionMessagingScheduler
|
private boolean |
isStarted
|
private String |
keystoreAlias
|
private String |
keystoreFile
|
private String |
keystorePassword
|
private DataSource |
messageDataSource
|
private String |
messageDataSourceJndiName
|
private DataSource |
nonTransactionalMessageDataSource
|
private String |
nonTransactionalMessageDataSourceJndiName
|
private org.springframework.transaction.PlatformTransactionManager |
platformTransactionManager
|
private DataSource |
registryDataSource
|
private String |
registryDataSourceJndiName
|
private List<ServiceDefinition> |
services
|
private String |
serviceServletUrl
|
private String |
webserviceRetry
|
private String |
webservicesUrl
|
Fields inherited from class org.kuali.rice.core.config.ModuleConfigurer |
---|
EMBEDDED_RUN_MODE, exposeServicesOnBus, includeUserInterfaceComponents, LOCAL_RUN_MODE, LOG, REMOTE_RUN_MODE, resourceLoaderName, setSOAPServicesAsDefault, springFileLocations, testMode, THIN_RUN_MODE, VALID_RUN_MODES, webInterface, webModuleBaseUrl, webModuleConfigName, webModuleConfigurationFiles |
Constructor Summary | |
---|---|
KSBConfigurer()
|
Method Summary | |
---|---|
protected void |
cleanUpConfiguration()
Because our configuration is global, shutting down Rice does not get rid of objects stored there. |
protected void |
configureAlternateEndpoints(Config config)
|
protected void |
configureBus(Config config)
|
protected void |
configureDataSource(Config config)
|
protected void |
configureKeystore(Config config)
|
protected void |
configurePlatformTransactionManager(Config config)
|
protected void |
configureScheduler(Config config)
|
protected void |
configureServiceList(Config config,
String key,
List services)
|
List<AlternateEndpointLocation> |
getAlternateEndpointLocations()
|
List<AlternateEndpoint> |
getAlternateEndpoints()
|
org.quartz.Scheduler |
getExceptionMessagingScheduler()
|
String |
getKeystoreAlias()
|
String |
getKeystoreFile()
|
String |
getKeystorePassword()
|
DataSource |
getMessageDataSource()
|
String |
getMessageDataSourceJndiName()
|
DataSource |
getNonTransactionalMessageDataSource()
|
String |
getNonTransactionalMessageDataSourceJndiName()
|
org.springframework.transaction.PlatformTransactionManager |
getPlatformTransactionManager()
|
DataSource |
getRegistryDataSource()
|
String |
getRegistryDataSourceJndiName()
|
ResourceLoader |
getResourceLoaderToRegister()
This method returns a resource loader that this module might want to register with the global resource loader. |
protected String |
getServiceNamespace(Config config)
|
List<ServiceDefinition> |
getServices()
|
String |
getServiceServletUrl()
|
String |
getSpringFileLocations()
This method returns a comma separated string of spring file locations for this module. |
String |
getWebserviceRetry()
|
String |
getWebservicesUrl()
|
boolean |
isStarted()
|
Config |
loadConfig(Config parentConfig)
|
protected List<Lifecycle> |
loadLifecycles()
This overridden method ... |
void |
onEvent(RiceConfigEvent event)
Used to refresh the service registry after the Application Context is initialized. |
void |
setAlternateEndpointLocations(List<AlternateEndpointLocation> alternateEndpointLocations)
|
void |
setAlternateEndpoints(List<AlternateEndpoint> alternateEndpoints)
|
void |
setExceptionMessagingScheduler(org.quartz.Scheduler exceptionMessagingScheduler)
|
void |
setKeystoreAlias(String keystoreAlias)
|
void |
setKeystoreFile(String keystoreFile)
|
void |
setKeystorePassword(String keystorePassword)
|
void |
setMessageDataSource(DataSource messageDataSource)
|
void |
setMessageDataSourceJndiName(String messageDataSourceJndiName)
|
void |
setNonTransactionalMessageDataSource(DataSource nonTransactionalMessageDataSource)
|
void |
setNonTransactionalMessageDataSourceJndiName(String nonTransactionalMessageDataSourceJndiName)
|
void |
setPlatformTransactionManager(org.springframework.transaction.PlatformTransactionManager springTransactionManager)
|
void |
setRegistryDataSource(DataSource registryDataSource)
|
void |
setRegistryDataSourceJndiName(String registryDataSourceJndiName)
|
void |
setServices(List<ServiceDefinition> javaServices)
|
void |
setServiceServletUrl(String serviceServletUrl)
|
protected void |
setStarted(boolean isStarted)
|
void |
setWebserviceRetry(String webserviceRetry)
|
void |
setWebservicesUrl(String webservicesUrl)
|
boolean |
shouldRenderWebInterface()
Returns true - KSB UI should always be included. |
void |
stop()
|
Methods inherited from class org.kuali.rice.core.lifecycle.BaseCompositeLifecycle |
---|
start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.lifecycle.Lifecycle |
---|
start |
Field Detail |
---|
private List<ServiceDefinition> services
private List<AlternateEndpointLocation> alternateEndpointLocations
private List<AlternateEndpoint> alternateEndpoints
private String serviceServletUrl
private String keystoreAlias
private String keystorePassword
private String keystoreFile
private String webservicesUrl
private String webserviceRetry
private DataSource registryDataSource
private DataSource messageDataSource
private DataSource nonTransactionalMessageDataSource
private String registryDataSourceJndiName
private String messageDataSourceJndiName
private String nonTransactionalMessageDataSourceJndiName
private org.quartz.Scheduler exceptionMessagingScheduler
private org.springframework.transaction.PlatformTransactionManager platformTransactionManager
private boolean isStarted
Constructor Detail |
---|
public KSBConfigurer()
Method Detail |
---|
public Config loadConfig(Config parentConfig) throws Exception
loadConfig
in class ModuleConfigurer
Exception
public String getSpringFileLocations()
ModuleConfigurer
getSpringFileLocations
in class ModuleConfigurer
public boolean shouldRenderWebInterface()
shouldRenderWebInterface
in class ModuleConfigurer
ModuleConfigurer.shouldRenderWebInterface()
public ResourceLoader getResourceLoaderToRegister() throws Exception
ModuleConfigurer
getResourceLoaderToRegister
in class ModuleConfigurer
Exception
protected List<Lifecycle> loadLifecycles() throws Exception
ModuleConfigurer
loadLifecycles
in class ModuleConfigurer
Exception
BaseCompositeLifecycle.loadLifecycles()
public void onEvent(RiceConfigEvent event) throws Exception
onEvent
in interface RiceConfigEventListener
onEvent
in class ModuleConfigurer
Exception
protected String getServiceNamespace(Config config)
protected void configureBus(Config config) throws Exception
Exception
protected void configureServiceList(Config config, String key, List services) throws Exception
Exception
protected void configureScheduler(Config config)
protected void configureKeystore(Config config)
protected void configureDataSource(Config config)
protected void configurePlatformTransactionManager(Config config)
protected void configureAlternateEndpoints(Config config)
public void stop() throws Exception
stop
in interface Lifecycle
stop
in class BaseCompositeLifecycle
Exception
protected void cleanUpConfiguration()
public boolean isStarted()
isStarted
in interface Lifecycle
isStarted
in class BaseLifecycle
protected void setStarted(boolean isStarted)
setStarted
in class BaseLifecycle
public List<ServiceDefinition> getServices()
public void setServices(List<ServiceDefinition> javaServices)
public String getKeystoreAlias()
public void setKeystoreAlias(String keystoreAlias)
public String getKeystoreFile()
public void setKeystoreFile(String keystoreFile)
public String getKeystorePassword()
public void setKeystorePassword(String keystorePassword)
public String getWebserviceRetry()
public void setWebserviceRetry(String webserviceRetry)
public String getWebservicesUrl()
public void setWebservicesUrl(String webservicesUrl)
public String getServiceServletUrl()
public void setServiceServletUrl(String serviceServletUrl)
public DataSource getMessageDataSource()
public void setMessageDataSource(DataSource messageDataSource)
public DataSource getNonTransactionalMessageDataSource()
public void setNonTransactionalMessageDataSource(DataSource nonTransactionalMessageDataSource)
public String getMessageDataSourceJndiName()
public void setMessageDataSourceJndiName(String messageDataSourceJndiName)
public String getNonTransactionalMessageDataSourceJndiName()
public void setNonTransactionalMessageDataSourceJndiName(String nonTransactionalMessageDataSourceJndiName)
public DataSource getRegistryDataSource()
public void setRegistryDataSource(DataSource registryDataSource)
public String getRegistryDataSourceJndiName()
public void setRegistryDataSourceJndiName(String registryDataSourceJndiName)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |