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

All Superinterfaces:
Producer<T>
All Known Implementing Classes:
AbstractInjectionTarget, CandiProducer, InjectionTargetBuilder, InjectionTargetFilter, ResourceAdapterProducer, SingletonComponent, StatefulComponent, XmlBean, XmlInjectionTarget

public interface InjectionTarget<T>
extends Producer<T>

Abstract introspected view of a Bean injectible field


Method Summary
 void inject(T instance, CreationalContext<T> ctx)
          Inject the bean.
 void postConstruct(T instance)
          PostConstruct initialization
 void preDestroy(T instance)
          Call pre-destroy
 
Methods inherited from interface javax.enterprise.inject.spi.Producer
dispose, getInjectionPoints, produce
 

Method Detail

inject

void inject(T instance,
            CreationalContext<T> ctx)
Inject the bean.


postConstruct

void postConstruct(T instance)
PostConstruct initialization


preDestroy

void preDestroy(T instance)
Call pre-destroy