public class InjectionPointBean extends AbstractStaticallyDecorableBuiltInBean<InjectionPoint>
AbstractBuiltInBean.BuiltInBeanAttributes<T>
beanManager
Constructor and Description |
---|
InjectionPointBean(BeanManagerImpl manager)
Creates an InjectionPoint Web Bean for the injection of the containing bean owning
the field, constructor or method for the annotated item
|
Modifier and Type | Method and Description |
---|---|
void |
destroy(InjectionPoint instance,
CreationalContext<InjectionPoint> creationalContext)
Destroy an instance of the contextual type.
|
protected InjectionPoint |
getInjectionPoint(CurrentInjectionPoint cip) |
protected InjectionPoint |
newInstance(InjectionPoint ip,
CreationalContext<InjectionPoint> creationalContext) |
String |
toString() |
getDecorators, getProxyClass, initializeAfterBeanDiscovery
create, getBeanClass, getDecorators
cleanupAfterBoot, getInjectionPoints, getType, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
getBeanManager, getQualifierInstances, initialize, isDependent, isNormalScoped
attributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, unwrap
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getInjectionPoints, isNullable
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
getId
public InjectionPointBean(BeanManagerImpl manager)
T
- must be InjectionPointS
- field
- The annotated member field/parameter for the injectionmanager
- The RI manager implementationprotected InjectionPoint newInstance(InjectionPoint ip, CreationalContext<InjectionPoint> creationalContext)
newInstance
in class AbstractDecorableBuiltInBean<InjectionPoint>
public void destroy(InjectionPoint instance, CreationalContext<InjectionPoint> creationalContext)
Contextual
CreationalContext.release()
to allow the container to destroy dependent objects of
the contextual instance.instance
- the contextual instance to destroycreationalContext
- the context in which this instance was createdprotected InjectionPoint getInjectionPoint(CurrentInjectionPoint cip)
getInjectionPoint
in class AbstractDecorableBuiltInBean<InjectionPoint>
public String toString()
toString
in class CommonBean<InjectionPoint>
Copyright © 2013 Seam Framework. All Rights Reserved.