Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.component » [javadoc | source]
public interface: InjectionTargetBean [javadoc | source]

All Known Implementing Classes:
    EjbBean, NewBean, ManagedBean, AbstractInjectionTargetBean, ExtensionBean, XMLManagedBean

Defines contract for beans that coud have observable method.
Method from org.apache.webbeans.component.InjectionTargetBean Summary:
addObservableMethod,   getObservableMethods,   injectFields,   injectMethods,   injectResources,   isFromRealizes,   postConstruct,   preDestroy,   setFromRealizes
Method from org.apache.webbeans.component.InjectionTargetBean Detail:
 public  void addObservableMethod(Method observerMethod)
    Adds new observer method.
 public Set<Method> getObservableMethods()
    Returns set of observable methods.
 public  void injectFields(T instance,
    CreationalContext<T> creationalContext)
    Inject fields of the bean instance.
 public  void injectMethods(T instance,
    CreationalContext<T> creationalContext)
    Inject initializer methods of the bean instance.
 public  void injectResources(T instance,
    CreationalContext<T> creationalContext)
    Inject JavaEE resources.
 public boolean isFromRealizes()
    Returns true if coming from
 public  void postConstruct(T instance)
    Calls post constrcut method.
 public  void preDestroy(T instance)
    Calls predestroy method.
 public  void setFromRealizes(boolean realized)
    Set its realized.