org.jboss.webbeans.bean.standard
Class InjectionPointBean

java.lang.Object
  extended by javax.inject.manager.Bean<T>
      extended by org.jboss.webbeans.bean.RIBean<T>
          extended by org.jboss.webbeans.bean.standard.AbstractStandardBean<InjectionPoint>
              extended by org.jboss.webbeans.bean.standard.InjectionPointBean
All Implemented Interfaces:
Contextual<InjectionPoint>

public class InjectionPointBean
extends AbstractStandardBean<InjectionPoint>

Bean for InjectionPoint metadata

Author:
David Allen

Constructor Summary
protected InjectionPointBean(AnnotatedClass<InjectionPoint> clazz, ManagerImpl manager)
           
 
Method Summary
 InjectionPoint create(CreationalContext<InjectionPoint> creationalContext)
           
 void destroy(InjectionPoint instance)
           
 java.lang.Class<InjectionPoint> getType()
           
 java.util.Set<java.lang.reflect.Type> getTypes()
           
static InjectionPointBean of(ManagerImpl manager)
          Creates an InjectionPoint Web Bean for the injection of the containing bean owning the field, constructor or method for the annotated item
 
Methods inherited from class org.jboss.webbeans.bean.standard.AbstractStandardBean
getBindings, getDeploymentType, getInjectionPoints, getName, getScopeType, getSpecializedBean, isNullable, isPrimitive, isProxyable, isSerializable, isSpecializing
 
Methods inherited from class org.jboss.webbeans.bean.RIBean
getManager, isDependent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectionPointBean

protected InjectionPointBean(AnnotatedClass<InjectionPoint> clazz,
                             ManagerImpl manager)
Method Detail

of

public static InjectionPointBean of(ManagerImpl manager)
Creates an InjectionPoint Web Bean for the injection of the containing bean owning the field, constructor or method for the annotated item

Type Parameters:
T - must be InjectionPoint
S -
Parameters:
field - The annotated member field/parameter for the injection
manager - The RI manager implementation
Returns:
a new bean for this injection point

create

public InjectionPoint create(CreationalContext<InjectionPoint> creationalContext)

destroy

public void destroy(InjectionPoint instance)

getType

public java.lang.Class<InjectionPoint> getType()
Specified by:
getType in class RIBean<InjectionPoint>

getTypes

public java.util.Set<java.lang.reflect.Type> getTypes()
Specified by:
getTypes in class Bean<InjectionPoint>


Copyright © 2008-2009. All Rights Reserved.