org.apache.hivemind.lib.factory
Class BeanFactoryContribution

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by 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

Constructor Summary
BeanFactoryContribution()
           
 
Method Summary
 java.lang.Class getBeanClass()
           
 java.lang.Boolean getCacheable()
           
 java.lang.String getName()
           
 boolean getStoreResultInCache(boolean defaultCacheable)
           
 void setBeanClass(java.lang.Class objectClass)
           
 void setCacheable(java.lang.Boolean cacheable)
           
 void setName(java.lang.String string)
           
 
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
 

Constructor Detail

BeanFactoryContribution

public BeanFactoryContribution()
Method Detail

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)