org.kuali.rice.ksb.api.bus.support
Class PropertyConditionalServiceBusExporter

java.lang.Object
  extended by org.kuali.rice.ksb.api.bus.support.ServiceBusExporter
      extended by org.kuali.rice.ksb.api.bus.support.PropertyConditionalServiceBusExporter
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class PropertyConditionalServiceBusExporter
extends ServiceBusExporter

A ServiceBusExporter which only exports the service if the specified property is set to true.

Author:
Kuali Rice Team (kuali-rice@googlegroups.com)

Constructor Summary
PropertyConditionalServiceBusExporter()
           
 
Method Summary
 void afterPropertiesSet()
           
 List<String> getExportIf()
           
 List<String> getExportUnless()
           
 boolean isExportIfPropertyNotSet()
           
 void setExportIf(List<String> exportIf)
           
 void setExportIfPropertyNotSet(boolean exportIfPropertyNotSet)
           
 void setExportUnless(List<String> exportUnless)
           
protected  boolean shouldRemoteThisService()
           
 
Methods inherited from class org.kuali.rice.ksb.api.bus.support.ServiceBusExporter
autoLocateServiceBus, getServiceBus, getServiceDefinition, isForceSync, setForceRefresh, setServiceBus, setServiceDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyConditionalServiceBusExporter

public PropertyConditionalServiceBusExporter()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class ServiceBusExporter

shouldRemoteThisService

protected boolean shouldRemoteThisService()

getExportIf

public List<String> getExportIf()

setExportIf

public void setExportIf(List<String> exportIf)

getExportUnless

public List<String> getExportUnless()

setExportUnless

public void setExportUnless(List<String> exportUnless)

isExportIfPropertyNotSet

public boolean isExportIfPropertyNotSet()

setExportIfPropertyNotSet

public void setExportIfPropertyNotSet(boolean exportIfPropertyNotSet)


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