org.yestech.cache.spring
Class JCSFactoryBean

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

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

Creates a JCS cache associated with a name provided

Version:
$Revision: $
Author:
Artie Copeland

Constructor Summary
JCSFactoryBean()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCSFactoryBean

public JCSFactoryBean()
Method Detail

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 JCSFactoryBean.


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.