Package org.apache.webbeans.component
Class ManagedBean<T>
- java.lang.Object
-
- org.apache.webbeans.component.BeanAttributesImpl<T>
-
- org.apache.webbeans.component.AbstractOwbBean<T>
-
- org.apache.webbeans.component.InjectionTargetBean<T>
-
- org.apache.webbeans.component.ManagedBean<T>
-
- All Implemented Interfaces:
Serializable,javax.enterprise.context.spi.Contextual<T>,javax.enterprise.inject.spi.Bean<T>,javax.enterprise.inject.spi.BeanAttributes<T>,javax.enterprise.inject.spi.PassivationCapable,InterceptedMarker,OwbBean<T>
- Direct Known Subclasses:
NewManagedBean
public class ManagedBean<T> extends InjectionTargetBean<T> implements InterceptedMarker
Managed bean implementation of theBean.- Version:
- $Rev$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.webbeans.component.AbstractOwbBean
enabled, logger, passivatingId, specializedBean, webBeansContext, webBeansType
-
-
Constructor Summary
Constructors Constructor Description ManagedBean(WebBeansContext webBeansContext, WebBeansType webBeansType, javax.enterprise.inject.spi.AnnotatedType<T> annotated, javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(javax.enterprise.context.spi.CreationalContext<T> creationalContext)InjectionTargetImpl<T>getOriginalInjectionTarget()voidsetOriginalInjectionTarget(InjectionTargetImpl<T> originalInjectionTarget)booleanvalid()-
Methods inherited from class org.apache.webbeans.component.InjectionTargetBean
defineInterceptorsIfNeeded, getAnnotatedType, getInjectionTarget, getProducer, providedId
-
Methods inherited from class org.apache.webbeans.component.AbstractOwbBean
addToStringInfo, destroy, equals, getBeanClass, getId, getInjectionPoints, getLogger, getReturnType, getWebBeansContext, getWebBeansType, hashCode, isDependent, isEnabled, isPassivationCapable, isSpecializedBean, setEnabled, setSpecializedBean, toString
-
Methods inherited from class org.apache.webbeans.component.BeanAttributesImpl
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullable
-
-
-
-
Constructor Detail
-
ManagedBean
public ManagedBean(WebBeansContext webBeansContext, WebBeansType webBeansType, javax.enterprise.inject.spi.AnnotatedType<T> annotated, javax.enterprise.inject.spi.BeanAttributes<T> beanAttributes, Class<T> beanClass)
-
-
Method Detail
-
valid
public boolean valid()
-
create
public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Description copied from class:AbstractOwbBean- Specified by:
createin interfacejavax.enterprise.context.spi.Contextual<T>- Overrides:
createin classAbstractOwbBean<T>
-
setOriginalInjectionTarget
public void setOriginalInjectionTarget(InjectionTargetImpl<T> originalInjectionTarget)
-
getOriginalInjectionTarget
public InjectionTargetImpl<T> getOriginalInjectionTarget()
-
-