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

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

Direct Known Subclasses:
    WebBeansXMLDecorator

Defines decorators. It wraps the bean instance related with decorator class. Actually, each decorator is an instance of the ManagedBean .
Field Summary
protected  Type delegateType    Delegate field class type 
protected  Set<Annotation> delegateBindings    Delegate field bindings 
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 WebBeansDecorator(AbstractBean<T> wrappedBean) 
    Creates a new decorator bean instance with the given wrapped bean.
    Parameters:
    delegateComponent - delegate bean instance
Method from org.apache.webbeans.decorator.WebBeansDecorator Summary:
createInstance,   destroy,   equals,   getBeanClass,   getClazz,   getDecoratedTypes,   getDelegateBindings,   getDelegateComponent,   getDelegateType,   getDeploymentType,   getInjectionPoints,   getName,   getQualifiers,   getScope,   getStereotypes,   getTypes,   hashCode,   init,   initDelegate,   isAlternative,   isDecoratorMatch,   isNullable,   isSerializable,   setDelegate,   setInjections
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.decorator.WebBeansDecorator Detail:
 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() 
 public Set<Type> getDecoratedTypes() 
 public Set<Annotation> getDelegateBindings() 
 public AbstractBean<T> getDelegateComponent() 
 public Type getDelegateType() 
 public Class<Annotation> getDeploymentType() 
 public Set<InjectionPoint> getInjectionPoints() 
 public String getName() 
 public Set<Annotation> getQualifiers() 
 public Class<Annotation> getScope() 
 public Set<Annotation> getStereotypes() 
 public Set<Type> getTypes() 
 public int hashCode() 
 protected  void init() 
 protected  void initDelegate() 
 public boolean isAlternative() 
 public boolean isDecoratorMatch(Set<Type> apiType,
    Set<Annotation> annotation) 
 public boolean isNullable() 
 public boolean isSerializable() 
 public  void setDelegate(Object instance,
    Object delegate) 
 public  void setInjections(Object proxy)