Package org.apache.webbeans.component
Class NewManagedBean<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>
-
- org.apache.webbeans.component.NewManagedBean<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,NewBean<T>,OwbBean<T>
public class NewManagedBean<T> extends ManagedBean<T> implements NewBean<T>
Component definition withNewbinding annotation.It is defined as concrete java class component.
- 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 NewManagedBean(WebBeansContext webBeansContext, WebBeansType webBeansType, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes, Class<T> beanClass, Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAlternative()always false for New qualifierbooleanisDependent()always true for New qualifier-
Methods inherited from class org.apache.webbeans.component.ManagedBean
create, getOriginalInjectionTarget, setOriginalInjectionTarget, valid
-
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, isEnabled, isPassivationCapable, isSpecializedBean, setEnabled, setSpecializedBean, toString
-
Methods inherited from class org.apache.webbeans.component.BeanAttributesImpl
getName, getQualifiers, getScope, getStereotypes, getTypes, isNullable
-
-
-
-
Constructor Detail
-
NewManagedBean
public NewManagedBean(WebBeansContext webBeansContext, WebBeansType webBeansType, javax.enterprise.inject.spi.AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes, Class<T> beanClass, Set<javax.enterprise.inject.spi.InjectionPoint> injectionPoints)
-
-
Method Detail
-
isDependent
public boolean isDependent()
always true for New qualifier- Specified by:
isDependentin interfaceOwbBean<T>- Overrides:
isDependentin classAbstractOwbBean<T>- Returns:
trueif this is a dependent bean
-
isAlternative
public boolean isAlternative()
always false for New qualifier- Specified by:
isAlternativein interfacejavax.enterprise.inject.spi.BeanAttributes<T>- Overrides:
isAlternativein classBeanAttributesImpl<T>
-
-