public class NewSessionBean<T> extends SessionBean<T> implements NewBean
annotatedItem, constructorForEnhancedSubclass, decoratorProxyFactory, enhancedSubclassalternative, beanManager, name, qualifiers, scope, type, typesBEAN_ID_PREFIX, BEAN_ID_SEPARATOR| Modifier | Constructor and Description |
|---|---|
protected |
NewSessionBean(WeldClass<T> type,
InternalEjbDescriptor<T> ejbDescriptor,
String idSuffix,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
Protected constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkScopeAllowed()
Check that the scope type is allowed by the stereotypes on the bean and
the bean type
|
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> NewSessionBean<T> |
of(InternalEjbDescriptor<T> ejbDescriptor,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
Creates an instance of a NewEnterpriseBean from an annotated class
|
protected void |
registerInterceptors() |
String |
toString() |
applyDecorators, checkConflictingRoles, checkObserverMethods, checkType, create, createId, createId, createInstance, createReference, destroy, getEjbDescriptor, getSpecializedBean, hasDefaultProducer, initialize, initializeAfterBeanDiscovery, initProxyClass, initTypes, isClientCanCallRemoveMethods, isInterceptionCandidate, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, of, preSpecialize, specializecheckBeanImplementation, checkConstructor, createEnhancedSubclass, defaultPostConstruct, defaultPreDestroy, getConstructor, getDecorators, getDefaultName, getInitializerMethods, getInjectableFields, getInjectionPoints, getInjectionTarget, getPostConstruct, getPreDestroy, getWeldAnnotated, hasDecorators, hasInterceptors, initAfterInterceptorsAndDecoratorsInitialized, initConstructor, initDecorators, initEnhancedSubclass, initInitializerMethods, initInjectableFields, initInterceptorsIfNeeded, initPostConstruct, initPreDestroy, initScope, initType, isSubclassed, setInjectionTargetaddInjectionPoint, addInjectionPoints, checkDelegateInjectionPoints, cleanupAfterBoot, getDelegateInjectionPoints, getMergedStereotypes, getNewInjectionPoints, getServices, getStereotypes, getType, getTypedTypes, getTypes, getWeldInjectionPoints, initAlternative, initDefaultQualifiers, initName, initQualifiers, initScopeFromStereotype, initStereotypes, isDependent, isInitialized, isNullable, isPrimitive, isProxyRequired, postSpecializeequals, getBeanClass, getBeanManager, getId, getQualifierInstances, hashCode, isNormalScopedprotected NewSessionBean(WeldClass<T> type, InternalEjbDescriptor<T> ejbDescriptor, String idSuffix, BeanManagerImpl beanManager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
type - An annotated classbeanManager - The Bean managerpublic static <T> NewSessionBean<T> of(InternalEjbDescriptor<T> ejbDescriptor, 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>>protected void checkScopeAllowed()
SessionBeancheckScopeAllowed in class SessionBean<T>protected void registerInterceptors()
registerInterceptors in class SessionBean<T>public String toString()
toString in class SessionBean<T>Copyright © 2014 Seam Framework. All Rights Reserved.