org.yestech.cache.spring
Class InfinispanFactoryBean

java.lang.Object
  extended by org.yestech.cache.spring.InfinispanFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class InfinispanFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

Version:
$Revision: $
Author:
Artie Copeland

Constructor Summary
InfinispanFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 void setCacheName(String cacheName)
          Set a name for which to retrieve or create a cache instance.
 void setManager(org.infinispan.manager.CacheManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfinispanFactoryBean

public InfinispanFactoryBean()
Method Detail

setManager

public void setManager(org.infinispan.manager.CacheManager manager)

setCacheName

public void setCacheName(String cacheName)
Set a name for which to retrieve or create a cache instance. Default is the bean name of this EhCacheFactoryBean.


afterPropertiesSet

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

getObject

public Object getObject()
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean

getObjectType

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

isSingleton

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


Copyright © 2010 YES Technology Association. All Rights Reserved.