Package org.jboss.weld.bean.builtin
Class ExtensionBean<E extends javax.enterprise.inject.spi.Extension>
- java.lang.Object
-
- org.jboss.weld.util.bean.ForwardingBeanAttributes<T>
-
- org.jboss.weld.bean.CommonBean<T>
-
- org.jboss.weld.bean.RIBean<T>
-
- org.jboss.weld.bean.builtin.AbstractBuiltInBean<E>
-
- org.jboss.weld.bean.builtin.ExtensionBean<E>
-
- All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<E>
,javax.enterprise.inject.spi.Bean<E>
,javax.enterprise.inject.spi.BeanAttributes<E>
,javax.enterprise.inject.spi.PassivationCapable
,WeldBean<E>
public class ExtensionBean<E extends javax.enterprise.inject.spi.Extension> extends AbstractBuiltInBean<E>
- Author:
- pmuir
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
AbstractBuiltInBean.BuiltInBeanAttributes<T>
-
-
Field Summary
-
Fields inherited from class org.jboss.weld.bean.RIBean
beanManager
-
-
Constructor Summary
Constructors Constructor Description ExtensionBean(BeanManagerImpl manager, EnhancedAnnotatedType<E> enhancedAnnotatedType, org.jboss.weld.bootstrap.spi.Metadata<E> instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description E
create(javax.enterprise.context.spi.CreationalContext<E> creationalContext)
SlimAnnotatedType<E>
getAnnotatedType()
Class<? extends Annotation>
getScope()
Set<Type>
getTypes()
boolean
isPassivationCapableBean()
boolean
isProxyable()
String
toString()
-
Methods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
cleanupAfterBoot, getInjectionPoints, getType, initializeAfterBeanDiscovery, internalInitialize, isDependentContextOptimizationAllowed, isPassivationCapableDependency, isProxyRequired, preInitialize
-
Methods inherited from class org.jboss.weld.bean.RIBean
destroy, getBeanClass, getBeanManager, getContextualInstanceStrategy, getQualifierInstances, initialize, isDependent, isNormalScoped, setAttributes
-
Methods inherited from class org.jboss.weld.bean.CommonBean
attributes, equals, getId, getIdentifier, hashCode, isNullable, unwrap
-
Methods inherited from class org.jboss.weld.util.bean.ForwardingBeanAttributes
getName, getQualifiers, getStereotypes, isAlternative
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getStereotypes, isAlternative
-
Methods inherited from interface org.jboss.weld.bean.WeldBean
getPriority
-
-
-
-
Constructor Detail
-
ExtensionBean
public ExtensionBean(BeanManagerImpl manager, EnhancedAnnotatedType<E> enhancedAnnotatedType, org.jboss.weld.bootstrap.spi.Metadata<E> instance)
-
-
Method Detail
-
getTypes
public Set<Type> getTypes()
- Specified by:
getTypes
in interfacejavax.enterprise.inject.spi.BeanAttributes<E extends javax.enterprise.inject.spi.Extension>
- Overrides:
getTypes
in classForwardingBeanAttributes<E extends javax.enterprise.inject.spi.Extension>
-
isProxyable
public boolean isProxyable()
- Overrides:
isProxyable
in classAbstractBuiltInBean<E extends javax.enterprise.inject.spi.Extension>
-
isPassivationCapableBean
public boolean isPassivationCapableBean()
- Overrides:
isPassivationCapableBean
in classAbstractBuiltInBean<E extends javax.enterprise.inject.spi.Extension>
-
getScope
public Class<? extends Annotation> getScope()
- Specified by:
getScope
in interfacejavax.enterprise.inject.spi.BeanAttributes<E extends javax.enterprise.inject.spi.Extension>
- Overrides:
getScope
in classForwardingBeanAttributes<E extends javax.enterprise.inject.spi.Extension>
-
getAnnotatedType
public SlimAnnotatedType<E> getAnnotatedType()
-
toString
public String toString()
- Overrides:
toString
in classCommonBean<E extends javax.enterprise.inject.spi.Extension>
-
-