public class NewManagedBean<T> extends ManagedBean<T> implements NewBean
annotatedItem, constructorForEnhancedSubclass, decoratorProxyFactory, enhancedSubclass
alternative, beanManager, name, qualifiers, scope, type, types
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
Modifier | Constructor and Description |
---|---|
protected |
NewManagedBean(WeldClass<T> type,
String idSuffix,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
Protected constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the bean
|
Set<Annotation> |
getQualifiers()
Gets the bindings
|
Class<? extends Annotation> |
getScope()
Gets the scope type
|
boolean |
isAlternative() |
boolean |
isSpecializing() |
static <T> NewManagedBean<T> |
of(WeldClass<T> clazz,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
Creates an instance of a NewSimpleBean from an annotated class
|
String |
toString() |
applyInterceptors, checkBeanImplementation, checkType, create, createId, createInstance, createSimpleId, destroy, getSpecializedBean, initialize, initializeAfterBeanDiscovery, isInterceptionCandidate, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, preSpecialize, specialize
applyDecorators, checkConstructor, createEnhancedSubclass, defaultPostConstruct, defaultPreDestroy, flattenInterceptorBindings, getConstructor, getDecorators, getDefaultName, getInitializerMethods, getInjectableFields, getInjectionPoints, getInjectionTarget, getPostConstruct, getPreDestroy, getWeldAnnotated, hasDecorators, hasInterceptors, initConstructor, initDecorators, initEnhancedSubclass, initInitializerMethods, initInjectableFields, initInterceptionModelForType, initPostConstruct, initPreDestroy, initScope, initType, isSubclassed, setInjectionTarget
addInjectionPoint, addInjectionPoints, checkDelegateInjectionPoints, cleanupAfterBoot, getDelegateInjectionPoints, getMergedStereotypes, getNewInjectionPoints, getServices, getStereotypes, getType, getTypedTypes, getTypes, getWeldInjectionPoints, initAlternative, initDefaultQualifiers, initName, initQualifiers, initScopeFromStereotype, initStereotypes, initTypes, isDependent, isInitialized, isNormalScoped, isNullable, isPrimitive, isProxyRequired, postSpecialize
equals, getBeanClass, getBeanManager, getId, hashCode
protected NewManagedBean(WeldClass<T> type, String idSuffix, BeanManagerImpl beanManager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
type
- An annotated classbeanManager
- The Bean managerpublic static <T> NewManagedBean<T> of(WeldClass<T> clazz, BeanManagerImpl beanManager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
clazz
- The annotated classbeanManager
- The Bean managerpublic Class<? extends Annotation> getScope()
public boolean isAlternative()
isAlternative
in interface javax.enterprise.inject.spi.Bean<T>
isAlternative
in class AbstractBean<T,Class<T>>
public String getName()
public Set<Annotation> getQualifiers()
getQualifiers
in interface javax.enterprise.inject.spi.Bean<T>
getQualifiers
in class AbstractBean<T,Class<T>>
Bean.getQualifiers()
public boolean isSpecializing()
isSpecializing
in class AbstractBean<T,Class<T>>
public String toString()
toString
in class ManagedBean<T>
Copyright © 2012 Seam Framework. All Rights Reserved.