public class NewSessionBean<T> extends SessionBean<T> implements NewBean
annotatedType, enhancedAnnotatedItem
type
beanManager
Modifier | Constructor and Description |
---|---|
protected |
NewSessionBean(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
EnhancedAnnotatedType<T> type,
InternalEjbDescriptor<T> ejbDescriptor,
org.jboss.weld.serialization.spi.BeanIdentifier identifier,
BeanManagerImpl beanManager)
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
|
boolean |
isSpecializing() |
static <T> NewSessionBean<T> |
of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
InternalEjbDescriptor<T> ejbDescriptor,
BeanManagerImpl beanManager)
Creates an instance of a NewEnterpriseBean from an annotated class
|
String |
toString() |
checkConflictingRoles, checkObserverMethods, checkType, create, createReference, destroy, getBusinessMethodSignatures, getEjbDescriptor, initializeAfterBeanDiscovery, internalInitialize, isClientCanCallRemoveMethods, isInterceptionCandidate, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, of, registerInterceptors, specialize
checkBeanImplementation, cleanupAfterBoot, getAnnotated, getDecorators, getEnhancedAnnotated, getInjectionPoints, getInjectionTarget, getInterceptors, getProducer, hasDecorators, hasInterceptors, initType, preSpecialize, setInjectionTarget, setProducer, setProducer
checkSpecialization, getSpecializedBeans, getType, isDependent, isProxyRequired, postSpecialize, preInitialize
getBeanClass, getBeanManager, getQualifierInstances, initialize, isNormalScoped
attributes, equals, getId, getIdentifier, hashCode, isNullable, setAttributes, unwrap
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected NewSessionBean(javax.enterprise.inject.spi.BeanAttributes<T> attributes, EnhancedAnnotatedType<T> type, InternalEjbDescriptor<T> ejbDescriptor, org.jboss.weld.serialization.spi.BeanIdentifier identifier, BeanManagerImpl beanManager)
type
- An annotated classbeanManager
- The Bean managerpublic static <T> NewSessionBean<T> of(javax.enterprise.inject.spi.BeanAttributes<T> attributes, InternalEjbDescriptor<T> ejbDescriptor, BeanManagerImpl beanManager)
clazz
- The annotated classbeanManager
- The Bean managerpublic boolean isSpecializing()
isSpecializing
in class AbstractBean<T,Class<T>>
protected void checkScopeAllowed()
SessionBean
checkScopeAllowed
in class SessionBean<T>
public String toString()
toString
in class SessionBean<T>
Copyright © 2016. All rights reserved.