public class BeanManagerImplBean extends AbstractBuiltInBean<BeanManagerImpl>
AbstractBuiltInBean.BuiltInBeanAttributes<T>
beanManager
Constructor and Description |
---|
BeanManagerImplBean(BeanManagerImpl manager) |
Modifier and Type | Method and Description |
---|---|
BeanManagerImpl |
create(CreationalContext<BeanManagerImpl> creationalContext)
Create a new instance of the contextual type.
|
void |
destroy(BeanManagerImpl instance,
CreationalContext<BeanManagerImpl> creationalContext)
Destroy an instance of the contextual type.
|
Class<BeanManagerImpl> |
getType() |
Set<Type> |
getTypes()
Obtains the bean types of the bean.
|
String |
toString() |
cleanupAfterBoot, getInjectionPoints, initializeAfterBeanDiscovery, internalInitialize, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, isProxyRequired, preInitialize
getBeanClass, getBeanManager, getQualifierInstances, initialize, isDependent, isNormalScoped
attributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, unwrap
getName, getQualifiers, getScope, getStereotypes, isAlternative
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId
getName, getQualifiers, getScope, getStereotypes, isAlternative
public BeanManagerImplBean(BeanManagerImpl manager)
public BeanManagerImpl create(CreationalContext<BeanManagerImpl> creationalContext)
Contextual
CreationalContext
when obtaining contextual references to inject, in order to ensure
that any dependent objects are associated with the contextual instance that is being created. An implementation may call
CreationalContext.push(Object)
between instantiation and injection to help the
container minimize the use of client proxy objects.creationalContext
- the context in which this instance is being createdpublic Class<BeanManagerImpl> getType()
getType
in class AbstractBuiltInBean<BeanManagerImpl>
public Set<Type> getTypes()
BeanAttributes
getTypes
in interface BeanAttributes<BeanManagerImpl>
getTypes
in class ForwardingBeanAttributes<BeanManagerImpl>
public void destroy(BeanManagerImpl instance, CreationalContext<BeanManagerImpl> 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 createdpublic String toString()
toString
in class CommonBean<BeanManagerImpl>
Copyright © 2014. All Rights Reserved.