public class ExtensionBean extends AbstractBuiltInBean<Extension>
AbstractBuiltInBean.BuiltInBeanAttributes<T>beanManager| Constructor and Description |
|---|
ExtensionBean(BeanManagerImpl manager,
EnhancedAnnotatedType<Extension> clazz,
Metadata<Extension> instance) |
| Modifier and Type | Method and Description |
|---|---|
Extension |
create(CreationalContext<Extension> creationalContext)
Create a new instance of the contextual type.
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Obtains the scope of the bean.
|
java.util.Set<java.lang.reflect.Type> |
getTypes()
Obtains the bean types of the bean.
|
boolean |
isPassivationCapableBean() |
boolean |
isProxyable() |
java.lang.String |
toString() |
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isPassivationCapableDependency, isProxyRequired, preInitializedestroy, getBeanClass, getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributesattributes, equals, getId, getIdentifier, hashCode, isNullable, unwrapgetName, getQualifiers, getStereotypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetIdgetName, getQualifiers, getStereotypes, isAlternativepublic ExtensionBean(BeanManagerImpl manager, EnhancedAnnotatedType<Extension> clazz, Metadata<Extension> instance)
public java.util.Set<java.lang.reflect.Type> getTypes()
BeanAttributesgetTypes in interface BeanAttributes<Extension>getTypes in class ForwardingBeanAttributes<Extension>public boolean isProxyable()
isProxyable in class AbstractBuiltInBean<Extension>public boolean isPassivationCapableBean()
isPassivationCapableBean in class AbstractBuiltInBean<Extension>public Extension create(CreationalContext<Extension> creationalContext)
ContextualCreationalContext 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 java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
BeanAttributesgetScope in interface BeanAttributes<Extension>getScope in class ForwardingBeanAttributes<Extension>public java.lang.String toString()
toString in class CommonBean<Extension>Copyright © 2015. All Rights Reserved.