Package org.jboss.weld.bean.builtin
Class ExtensionBean<E extends jakarta.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:
jakarta.enterprise.context.spi.Contextual<E>,jakarta.enterprise.inject.spi.Bean<E>,jakarta.enterprise.inject.spi.BeanAttributes<E>,jakarta.enterprise.inject.spi.PassivationCapable,WeldBean<E>
public class ExtensionBean<E extends jakarta.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 Ecreate(jakarta.enterprise.context.spi.CreationalContext<E> creationalContext)SlimAnnotatedType<E>getAnnotatedType()Class<? extends Annotation>getScope()Set<Type>getTypes()booleanisPassivationCapableBean()booleanisProxyable()StringtoString()-
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, 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 jakarta.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:
getTypesin interfacejakarta.enterprise.inject.spi.BeanAttributes<E extends jakarta.enterprise.inject.spi.Extension>- Overrides:
getTypesin classForwardingBeanAttributes<E extends jakarta.enterprise.inject.spi.Extension>
-
isProxyable
public boolean isProxyable()
- Overrides:
isProxyablein classAbstractBuiltInBean<E extends jakarta.enterprise.inject.spi.Extension>
-
isPassivationCapableBean
public boolean isPassivationCapableBean()
- Overrides:
isPassivationCapableBeanin classAbstractBuiltInBean<E extends jakarta.enterprise.inject.spi.Extension>
-
getScope
public Class<? extends Annotation> getScope()
- Specified by:
getScopein interfacejakarta.enterprise.inject.spi.BeanAttributes<E extends jakarta.enterprise.inject.spi.Extension>- Overrides:
getScopein classForwardingBeanAttributes<E extends jakarta.enterprise.inject.spi.Extension>
-
getAnnotatedType
public SlimAnnotatedType<E> getAnnotatedType()
-
toString
public String toString()
- Overrides:
toStringin classCommonBean<E extends jakarta.enterprise.inject.spi.Extension>
-
-