public class ExtensionBean<E extends Extension> extends AbstractBuiltInBean<E>
AbstractBuiltInBean.BuiltInBeanAttributes<T>beanManager| Constructor and Description |
|---|
ExtensionBean(BeanManagerImpl manager,
EnhancedAnnotatedType<E> clazz,
Metadata<E> instance) |
| Modifier and Type | Method and Description |
|---|---|
E |
create(CreationalContext<E> creationalContext)
Create a new instance of the contextual type.
|
Class<? extends Annotation> |
getScope()
Obtains the scope of the bean.
|
Set<Type> |
getTypes()
Obtains the bean types of the bean.
|
boolean |
isPassivationCapableBean() |
boolean |
isProxyable() |
String |
toString() |
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isDependentContextOptimizationAllowed, 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<E> clazz, Metadata<E> instance)
public Set<Type> getTypes()
BeanAttributesgetTypes in interface BeanAttributes<E extends Extension>getTypes in class ForwardingBeanAttributes<E extends Extension>public boolean isProxyable()
isProxyable in class AbstractBuiltInBean<E extends Extension>public boolean isPassivationCapableBean()
isPassivationCapableBean in class AbstractBuiltInBean<E extends Extension>public E create(CreationalContext<E> 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 Class<? extends Annotation> getScope()
BeanAttributesgetScope in interface BeanAttributes<E extends Extension>getScope in class ForwardingBeanAttributes<E extends Extension>public String toString()
toString in class CommonBean<E extends Extension>Copyright © 2016. All Rights Reserved.