Package org.apache.webbeans.component
Class ExtensionBean<T>
- java.lang.Object
-
- org.apache.webbeans.component.BeanAttributesImpl<T>
-
- org.apache.webbeans.component.AbstractOwbBean<T>
-
- org.apache.webbeans.component.BuiltInOwbBean<T>
-
- org.apache.webbeans.component.ExtensionBean<T>
-
- Type Parameters:
T- type info
- All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<T>,javax.enterprise.inject.spi.Bean<T>,javax.enterprise.inject.spi.BeanAttributes<T>,javax.enterprise.inject.spi.PassivationCapable,OwbBean<T>
public class ExtensionBean<T> extends BuiltInOwbBean<T>
Extension service bean definition.- Version:
- $Rev$ $Date$
-
-
Field Summary
-
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType
-
-
Constructor Summary
Constructors Constructor Description ExtensionBean(WebBeansContext webBeansContext, Class<T> returnType)Creates a new extesion bean.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>proxyableType()-
Methods inherited from class org.apache.webbeans.component.BuiltInOwbBean
getProducer
-
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
addToStringInfo, create, destroy, equals, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, hashCode, isDependent, isEnabled, isPassivationCapable, isSpecializedBean, providedId, setEnabled, setSpecializedBean, toString
-
Methods inherited from class org.apache.webbeans.component.BeanAttributesImpl
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable
-
-
-
-
Constructor Detail
-
ExtensionBean
public ExtensionBean(WebBeansContext webBeansContext, Class<T> returnType)
Creates a new extesion bean.- Parameters:
returnType- return typewebBeansContext-
-
-
Method Detail
-
proxyableType
public Class<?> proxyableType()
- Specified by:
proxyableTypein classBuiltInOwbBean<T>- Returns:
- some built in beans can be decorated, this class is the one used to generate the proxy
-
-