org.kuali.rice.ksb.messaging
Class RiceCacheExporterFactoryBean

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.RiceCacheExporterFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<RiceCacheAdministrator>, org.springframework.beans.factory.InitializingBean

public class RiceCacheExporterFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<RiceCacheAdministrator>, org.springframework.beans.factory.InitializingBean

Returns a RiceCacheAdministrator. Starts and registers this cache with the bus.

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

Field Summary
private  RiceCacheAdministratorImpl cache
           
protected  ServiceBus serviceBus
           
private  String serviceName
           
 
Constructor Summary
RiceCacheExporterFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 RiceCacheAdministrator getObject()
           
 Class<RiceCacheAdministrator> getObjectType()
           
 String getServiceName()
           
 boolean isSingleton()
           
 void setServiceBus(ServiceBus serviceBus)
           
 void setServiceName(String serviceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceName

private String serviceName

cache

private RiceCacheAdministratorImpl cache

serviceBus

protected ServiceBus serviceBus
Constructor Detail

RiceCacheExporterFactoryBean

public RiceCacheExporterFactoryBean()
Method Detail

getObject

public RiceCacheAdministrator getObject()
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<RiceCacheAdministrator>

getObjectType

public Class<RiceCacheAdministrator> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<RiceCacheAdministrator>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<RiceCacheAdministrator>

getServiceName

public String getServiceName()

setServiceName

public void setServiceName(String serviceName)

afterPropertiesSet

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

setServiceBus

public void setServiceBus(ServiceBus serviceBus)


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