javax.enterprise.inject.spi
Interface Producer<T>

All Known Subinterfaces:
InjectionTarget<T>
All Known Implementing Classes:
AbstractInjectionTarget, CandiProducer, DisposesProducer, InjectionTargetBuilder, InjectionTargetFilter, ResourceAdapterProducer, SingletonComponent, StatefulComponent, XmlBean, XmlInjectionTarget

public interface Producer<T>

Abstract introspected view of a Bean injectible field


Method Summary
 void dispose(T instance)
          Dispose the bean.
 java.util.Set<InjectionPoint> getInjectionPoints()
          Returns the injection points.
 T produce(CreationalContext<T> ctx)
          Instantiate the bean.
 

Method Detail

produce

T produce(CreationalContext<T> ctx)
Instantiate the bean.


dispose

void dispose(T instance)
Dispose the bean.


getInjectionPoints

java.util.Set<InjectionPoint> getInjectionPoints()
Returns the injection points.