org.kuali.rice.kew.config
Class KEWConfigurer

java.lang.Object
  extended by org.kuali.rice.core.api.lifecycle.BaseLifecycle
      extended by org.kuali.rice.core.api.lifecycle.BaseCompositeLifecycle
          extended by org.kuali.rice.core.framework.config.module.ModuleConfigurer
              extended by org.kuali.rice.kew.config.KEWConfigurer
All Implemented Interfaces:
Configurer, Lifecycle, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.web.context.ServletContextAware

public class KEWConfigurer
extends ModuleConfigurer

Configures the KEW Rice module. KEW module initiation proceeds as follows:

  1. Parse and load configuration for:
  2. Configure and startup KEW for "Thin Client" mode OR
  3. Configure and startup KEW for "Embedded Mode"

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static String KEW_DATASOURCE_OBJ
           
 
Fields inherited from class org.kuali.rice.core.framework.config.module.ModuleConfigurer
LOG
 
Constructor Summary
KEWConfigurer()
           
 
Method Summary
 void addAdditonalToConfig()
           
 DataSource getDataSource()
           
 List<String> getPrimarySpringFiles()
           
 Collection<ResourceLoader> getResourceLoadersToRegister()
           
 boolean hasWebInterface()
          Indicates whether or not this module has a web interface module.
 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 setDataSource(DataSource dataSource)
           
 
Methods inherited from class org.kuali.rice.core.framework.config.module.ModuleConfigurer
addToConfig, afterPropertiesSet, destroy, doAdditionalModuleStartLogic, doAdditionalModuleStopLogic, doAdditonalConfigurerValidations, getAdditionalSpringFiles, getDefaultConfigPackagePath, getDefaultSpringBeansPath, getModuleName, getProperties, getRunMode, getValidRunModes, getWebModuleConfiguration, initializeResourceLoaders, isExposeServicesOnBus, setModuleName, setProperties, setServletContext, setValidRunModes, shouldRenderWebInterface, start, stop, validateConfigurerState
 
Methods inherited from class org.kuali.rice.core.api.lifecycle.BaseLifecycle
isStarted, setStarted
 
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.api.lifecycle.Lifecycle
isStarted
 

Field Detail

KEW_DATASOURCE_OBJ

public static final String KEW_DATASOURCE_OBJ
See Also:
Constant Field Values
Constructor Detail

KEWConfigurer

public KEWConfigurer()
Method Detail

getPrimarySpringFiles

public List<String> getPrimarySpringFiles()
Specified by:
getPrimarySpringFiles in interface Configurer
Overrides:
getPrimarySpringFiles in class ModuleConfigurer

loadLifecycles

public List<Lifecycle> loadLifecycles()
                               throws Exception
Specified by:
loadLifecycles in interface Configurer
Overrides:
loadLifecycles in class ModuleConfigurer
Throws:
Exception

addAdditonalToConfig

public void addAdditonalToConfig()
Overrides:
addAdditonalToConfig in class ModuleConfigurer

getResourceLoadersToRegister

public Collection<ResourceLoader> getResourceLoadersToRegister()
                                                        throws Exception
Overrides:
getResourceLoadersToRegister in class ModuleConfigurer
Throws:
Exception

getDataSource

public DataSource getDataSource()

setDataSource

public void setDataSource(DataSource dataSource)

hasWebInterface

public boolean hasWebInterface()
Description copied from class: ModuleConfigurer
Indicates whether or not this module has a web interface module. Default implementation returns false, but subclasses can override to return true if they have a web module that can be loaded.

Overrides:
hasWebInterface in class ModuleConfigurer
Returns:
true if this module has a web interface, false otherwise

loadWebModule

protected WebModuleConfiguration loadWebModule()
Description copied from class: ModuleConfigurer
Subclasses can override the default implementation of this method if they want to provide a custom implementation for loading the web module configuration. This method will be called from #getWebModuleConfiguration when #hasWebInterface return true.

Overrides:
loadWebModule in class ModuleConfigurer
Returns:
the loaded web module configuration, this method should *never* return null.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.