org.kuali.rice.ksb.messaging.config
Class KSBThinClientConfigurer

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.impl.config.module.ModuleConfigurer
              extended by org.kuali.rice.ksb.messaging.config.KSBThinClientConfigurer
All Implemented Interfaces:
EventListener, Configurer, Lifecycle, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.web.context.ServletContextAware

public class KSBThinClientConfigurer
extends ModuleConfigurer

A configurer which starts up an alternate Spring file to configure some services that are needed in "Thin Client" mode. A "thin client" is a client which communicates directly with service endpoints and doesn't use the registry or the message queue. Esentially, all it uses the KSB for are it's Digital Signature services.

TODO This is essentially a hack to allow for secure thin client mode of workflow to work properly without requiring the entire service bus to be started (which requires datasources, etc.). We need to examine how better to support this sort of a concept in the future.

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

Field Summary
 
Fields inherited from class org.kuali.rice.core.impl.config.module.ModuleConfigurer
LOG
 
Constructor Summary
KSBThinClientConfigurer()
           
 
Method Summary
 List<String> getPrimarySpringFiles()
           
 
Methods inherited from class org.kuali.rice.core.impl.config.module.ModuleConfigurer
addAdditonalToConfig, addToConfig, afterPropertiesSet, destroy, doAdditionalContextStartedLogic, doAdditionalContextStoppedLogic, doAdditionalModuleStartLogic, doAdditionalModuleStopLogic, doAdditonalConfigurerValidations, doContextStartedLogic, doContextStoppedLogic, getAdditionalSpringFiles, getDefaultConfigPackagePath, getDefaultSpringBeansPath, getModuleName, getProperties, getResourceLoadersToRegister, getRunMode, getValidRunModes, getWebModuleBaseUrl, getWebModuleConfigName, getWebModuleConfigurationFiles, hasWebInterface, initializeResourceLoaders, isExposeServicesOnBus, isIncludeUserInterfaceComponents, isSetSOAPServicesAsDefault, loadLifecycles, onApplicationEvent, setHasWebInterface, 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
 

Constructor Detail

KSBThinClientConfigurer

public KSBThinClientConfigurer()
Method Detail

getPrimarySpringFiles

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


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