org.kuali.rice.ksb.messaging
Class RunModeServiceExporter
java.lang.Object
org.kuali.rice.ksb.api.bus.support.ServiceBusExporter
org.kuali.rice.ksb.api.bus.support.PropertyConditionalServiceBusExporter
org.kuali.rice.ksb.messaging.RunModeServiceExporter
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class RunModeServiceExporter
- extends PropertyConditionalServiceBusExporter
A KSBExporter which will exports the service in the case where the specified
run mode is set. The run mode order proceeds as follows:
remote -> embedded -> local
If any of the earlier run modes in the list is set, then the ones after it
will be applied. So, if remote is set, then it will automatically be exported
for embedded and local run modes.
- Author:
- Kuali Rice Team (kuali-rice@googlegroups.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunModeServiceExporter
public RunModeServiceExporter()
shouldRemoteThisService
protected boolean shouldRemoteThisService()
- Overrides:
shouldRemoteThisService
in class PropertyConditionalServiceBusExporter
getRunModePropertyName
public String getRunModePropertyName()
setRunModePropertyName
public void setRunModePropertyName(String runModePropertyName)
getValidRunMode
public RunMode getValidRunMode()
setValidRunMode
public void setValidRunMode(RunMode validRunMode)
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.