Uses of Interface
jfun.yan.factory.Factory

Packages that use Factory
jfun.yan Basic component combinators and containers. 
jfun.yan.containers This package provides some pre-built container classes. 
jfun.yan.factory This package provides interfaces and classes for factory and pool functionality. 
jfun.yan.xfire This package provides xfire integration for Yan. 
jfun.yan.xml.nut This package provides the basic Nut classes and introspection utility class. 
 

Uses of Factory in jfun.yan
 

Methods in jfun.yan that return Factory
 Factory Container.getFactory(java.lang.Object key)
          Create an instance of Factory for a component identified by a key.
 Factory Container.getFactory(java.lang.Object key, ComponentMap cmap)
          Create an instance of Factory for a component identified by a key.
<T> Factory<T>
Container.getFactoryOfType(java.lang.Class<T> type)
          Create an instance of Factory for a component of the provided type.
<T> Factory<T>
Container.getFactoryOfType(java.lang.Class<T> type, ComponentMap cmap)
          Create an instance of Factory for a component of the provided type.
 

Methods in jfun.yan that return types with arguments of type Factory
 Component<Factory<T>> Component.factory()
          Create a Component that instantiates the Factory interface.
static
<T> Component<Factory<T>>
Components.factory(Creator<T> cc, java.lang.String toString)
          Create a Component that instantiates the Factory interface.
 Component<Factory<T>> Component.factory(java.lang.String toString)
          Create a Component that instantiates the Factory interface.
 

Uses of Factory in jfun.yan.containers
 

Methods in jfun.yan.containers that return Factory
 Factory SimpleContainer.getFactory(java.lang.Object key)
           
 Factory ImmutablePreferredContainer.getFactory(java.lang.Object key)
           
 Factory DelegatingContainer.getFactory(java.lang.Object key)
           
 Factory SimpleContainer.getFactory(java.lang.Object key, ComponentMap cmap)
           
 Factory ImmutablePreferredContainer.getFactory(java.lang.Object key, ComponentMap cmap)
           
 Factory DelegatingContainer.getFactory(java.lang.Object key, ComponentMap cmap)
           
<T> Factory<T>
SimpleContainer.getFactoryOfType(java.lang.Class<T> type)
           
<T> Factory<T>
ImmutablePreferredContainer.getFactoryOfType(java.lang.Class<T> type)
           
<T> Factory<T>
DelegatingContainer.getFactoryOfType(java.lang.Class<T> type)
           
<T> Factory<T>
SimpleContainer.getFactoryOfType(java.lang.Class<T> type, ComponentMap cmap)
           
<T> Factory<T>
ImmutablePreferredContainer.getFactoryOfType(java.lang.Class<T> type, ComponentMap cmap)
           
<T> Factory<T>
DelegatingContainer.getFactoryOfType(java.lang.Class<T> type, ComponentMap cmap)
           
 

Uses of Factory in jfun.yan.factory
 

Classes in jfun.yan.factory that implement Factory
 class PooledFactory<T>
          This class decorates a Factory object that uses a Pool strategy to cache the factory result;
 

Methods in jfun.yan.factory with parameters of type Factory
 T ThreadLocalScope.getInstance(Factory<T> factory)
           
 T SimplePool.getInstance(Factory<T> factory)
           
 T Pool.getInstance(Factory<T> factory)
          Apply the pooling strategy and return an instance from either the pool or the factory.
 T GlobalScope.getInstance(Factory<T> factory)
           
 T CachingPool.getInstance(Factory<T> factory)
           
 

Constructors in jfun.yan.factory with parameters of type Factory
PooledFactory(Factory<T> factory, Pool<T> pool)
           
 

Uses of Factory in jfun.yan.xfire
 

Methods in jfun.yan.xfire that return Factory
 Factory SessionScopePolicy.applyScope(Factory f, org.codehaus.xfire.MessageContext ctxt)
           
 Factory ScopePolicy.applyScope(Factory f, org.codehaus.xfire.MessageContext ctxt)
          Apply scope policy to a Factory object so that the instance created by the Factory object can be cached properly.
 Factory RequestScopePolicy.applyScope(Factory f, org.codehaus.xfire.MessageContext ctxt)
           
 Factory ApplicationScopePolicy.applyScope(Factory f, org.codehaus.xfire.MessageContext ctxt)
           
 Factory ServiceBean.getServant()
          Gets the Factory that creates the servant object who backs this service.
 

Methods in jfun.yan.xfire with parameters of type Factory
 Factory SessionScopePolicy.applyScope(Factory f, org.codehaus.xfire.MessageContext ctxt)
           
 Factory ScopePolicy.applyScope(Factory f, org.codehaus.xfire.MessageContext ctxt)
          Apply scope policy to a Factory object so that the instance created by the Factory object can be cached properly.
 Factory RequestScopePolicy.applyScope(Factory f, org.codehaus.xfire.MessageContext ctxt)
           
 Factory ApplicationScopePolicy.applyScope(Factory f, org.codehaus.xfire.MessageContext ctxt)
           
 void ServiceBean.setServant(Factory servant)
          Sets the Factory object that creates the servant object who backs up the service.
 

Constructors in jfun.yan.xfire with parameters of type Factory
FactoryInvoker(Factory factory, ScopePolicy scope)
          Create a FactoryInvoker object.
 

Uses of Factory in jfun.yan.xml.nut
 

Methods in jfun.yan.xml.nut with parameters of type Factory
 void NutDescriptor.setFactory(Factory factory)
          To set the factory object that is responsible for creating the nut instance instead of invoking the default constructor.