org.apache.hivemind.lib.factory
Class BeanFactoryContribution
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.lib.factory.BeanFactoryContribution
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
public class BeanFactoryContribution
- extends org.apache.hivemind.impl.BaseLocatable
A contribution used with an BeanFactory
to define one class of objects that may be returned from the factory.
- Author:
- Howard Lewis Ship
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanFactoryContribution
public BeanFactoryContribution()
getCacheable
public java.lang.Boolean getCacheable()
getName
public java.lang.String getName()
getBeanClass
public java.lang.Class getBeanClass()
setCacheable
public void setCacheable(java.lang.Boolean cacheable)
setName
public void setName(java.lang.String string)
setBeanClass
public void setBeanClass(java.lang.Class objectClass)
getStoreResultInCache
public boolean getStoreResultInCache(boolean defaultCacheable)