Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.intercept.webbeans » [javadoc | source]
org.apache.webbeans.intercept.webbeans
public class: WebBeansInterceptor [javadoc | source]
java.lang.Object
   org.apache.webbeans.component.BaseBean<T>
      org.apache.webbeans.component.AbstractBean<T>
         org.apache.webbeans.intercept.webbeans.WebBeansInterceptor

All Implemented Interfaces:
    javax.enterprise.inject.spi.Interceptor, javax.enterprise.inject.spi.Bean

Defines the webbeans specific interceptors.

WebBeans interceotor classes has at least one javax.interceptor.InterceptorBinding annotation. It can be defined on the class or method level at the component. WebBeans interceptors are called after the EJB related interceptors are called in the chain. Semantics of the interceptors are specified by the EJB specificatin.

Fields inherited from org.apache.webbeans.component.AbstractBean:
name,  type,  implScopeType,  implQualifiers,  apiTypes,  webBeansType,  returnType,  stereoTypes,  specializedBean,  interceptorStack,  decoratorStack,  serializable,  nullable,  injectionPoints,  inheritedMetaData,  dependentOwnerInjectionPoint,  creationalContext
Constructor:
 public WebBeansInterceptor(AbstractBean<T> delegateComponent) 
Method from org.apache.webbeans.intercept.webbeans.WebBeansInterceptor Summary:
addInterceptorBinding,   createInstance,   destroy,   equals,   getBeanClass,   getClazz,   getDelegate,   getDeploymentType,   getInjectionPoints,   getInterceptorBindings,   getMetaInceptors,   getMethod,   getName,   getQualifiers,   getScope,   getStereotypes,   getTypes,   hashCode,   intercept,   intercepts,   isAlternative,   isBindingExist,   isNullable,   isSerializable,   setClazz,   setInjections,   toString
Methods from org.apache.webbeans.component.AbstractBean:
addApiType,   addInjectionPoint,   addQualifier,   addStereoType,   create,   createInstance,   destroy,   destroyInstance,   getBeanClass,   getCreationalContext,   getDecoratorStack,   getDependent,   getDependentOwnerInjectionPoint,   getDeploymentType,   getImplQualifiers,   getImplScopeType,   getInheritedMetaData,   getInjectionPoint,   getInjectionPoints,   getInterceptorStack,   getLogger,   getName,   getOwbStereotypes,   getPrecedence,   getQualifiers,   getReturnType,   getScope,   getStereotypes,   getType,   getTypes,   getWebBeansType,   isAlternative,   isNullable,   isSerializable,   isSpecializedBean,   setCreationalContext,   setDependentOwnerInjectionPoint,   setImplScopeType,   setInheritedMetaData,   setName,   setNullable,   setSerializable,   setSpecializedBean,   setType,   toString
Methods from org.apache.webbeans.component.BaseBean:
addApiType,   addInjectionPoint,   addQualifier,   addStereoType,   getCreationalContext,   getDecoratorStack,   getDependent,   getImplQualifiers,   getImplScopeType,   getInheritedMetaData,   getInjectionPoint,   getInterceptorStack,   getManager,   getOwbStereotypes,   getPrecedence,   getReturnType,   getType,   getWebBeansType,   isSpecializedBean,   setCreationalContext,   setImplScopeType,   setName,   setNullable,   setSerializable,   setSpecializedBean,   setType
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.webbeans.intercept.webbeans.WebBeansInterceptor Detail:
 public  void addInterceptorBinding(Class<Annotation> binding,
    Annotation annot) 
    Add new binding type to the interceptor.
 protected T createInstance(CreationalContext<T> creationalContext) 
 public  void destroy(T instance,
    CreationalContext<T> context) 
 public boolean equals(Object obj) 
 public Class<?> getBeanClass() 
 public Class<?> getClazz() 
    Gets the interceptor class.
 public AbstractBean<T> getDelegate() 
 public Class<Annotation> getDeploymentType() 
 public Set<InjectionPoint> getInjectionPoints() 
 public Set<Annotation> getInterceptorBindings() 
 public Set<?> getMetaInceptors() 
 public Method getMethod(InterceptionType type) 
 public String getName() 
 public Set<Annotation> getQualifiers() 
 public Class<Annotation> getScope() 
 public Set<Annotation> getStereotypes() 
 public Set<Type> getTypes() 
 public int hashCode() 
 public Object intercept(InterceptionType type,
    T instance,
    InvocationContext ctx) 
 public boolean intercepts(InterceptionType type) 
 public boolean isAlternative() 
 public boolean isBindingExist(List<Annotation> bindingTypes,
    List<Annotation> annots) 
    Checks whether this interceptor has given binding types with NonBinding member values.
 public boolean isNullable() 
 public boolean isSerializable() 
 public  void setClazz(Class<?> clazz) 
    Sets interceptor class.
 public  void setInjections(Object proxy) 
 public String toString()