org.kuali.rice.ksb.messaging
Class KSBExporter

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.KSBExporter
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
PropertyConditionalKSBExporter

public class KSBExporter
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

Used from Spring to register service definitions from an already configured and started KSB.

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

Field Summary
protected  org.springframework.context.ApplicationContext applicationContext
           
private  boolean forceRefresh
           
private static org.apache.log4j.Logger LOG
           
protected  RemotedServiceRegistry remotedServiceRegistry
           
private  ServiceDefinition serviceDefinition
           
 
Constructor Summary
KSBExporter()
           
 
Method Summary
 void afterPropertiesSet()
           
 RemotedServiceRegistry getRemotedServiceRegistry()
           
 ServiceDefinition getServiceDefinition()
           
 boolean isForceRefresh()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setForceRefresh(boolean forceRefresh)
           
 void setRemotedServiceRegistry(RemotedServiceRegistry remotedServiceRegistry)
           
 void setServiceDefinition(ServiceDefinition serviceDefinition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static org.apache.log4j.Logger LOG

serviceDefinition

private ServiceDefinition serviceDefinition

forceRefresh

private boolean forceRefresh

remotedServiceRegistry

protected RemotedServiceRegistry remotedServiceRegistry

applicationContext

protected org.springframework.context.ApplicationContext applicationContext
Constructor Detail

KSBExporter

public KSBExporter()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getServiceDefinition

public ServiceDefinition getServiceDefinition()

setServiceDefinition

public void setServiceDefinition(ServiceDefinition serviceDefinition)

isForceRefresh

public boolean isForceRefresh()

setForceRefresh

public void setForceRefresh(boolean forceRefresh)

getRemotedServiceRegistry

public RemotedServiceRegistry getRemotedServiceRegistry()
Returns:
the remotedServiceRegistry

setRemotedServiceRegistry

public void setRemotedServiceRegistry(RemotedServiceRegistry remotedServiceRegistry)
Parameters:
remotedServiceRegistry - the remotedServiceRegistry to set

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware


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