|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.weld.bean.RIBean<T>
org.jboss.weld.bean.AbstractBean<T,Class<T>>
org.jboss.weld.bean.AbstractClassBean<T>
org.jboss.weld.bean.SessionBean<T>
org.jboss.weld.bean.NewSessionBean<T>
public class NewSessionBean<T>
Represents a @New enterprise bean
Field Summary |
---|
Fields inherited from class org.jboss.weld.bean.AbstractClassBean |
---|
annotatedItem, constructorForEnhancedSubclass, decoratorProxyFactory, enhancedSubclass |
Fields inherited from class org.jboss.weld.bean.AbstractBean |
---|
alternative, beanManager, name, qualifiers, scope, type, types |
Fields inherited from class org.jboss.weld.bean.RIBean |
---|
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR |
Constructor Summary | |
---|---|
protected |
NewSessionBean(WeldClass<T> type,
InternalEjbDescriptor<T> ejbDescriptor,
String idSuffix,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
Protected constructor |
Method Summary | ||
---|---|---|
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
|
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()
|
Methods inherited from class org.jboss.weld.bean.SessionBean |
---|
applyDecorators, checkConflictingRoles, checkObserverMethods, checkType, create, createId, createId, createInstance, createReference, destroy, getEjbDescriptor, getSpecializedBean, hasDefaultProducer, initialize, initializeAfterBeanDiscovery, initProxyClass, initTypes, isClientCanCallRemoveMethods, isInterceptionCandidate, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, of, preSpecialize, specialize |
Methods inherited from class org.jboss.weld.bean.RIBean |
---|
equals, getBeanClass, getBeanManager, getId, getQualifierInstances, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected NewSessionBean(WeldClass<T> type, InternalEjbDescriptor<T> ejbDescriptor, String idSuffix, BeanManagerImpl beanManager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
type
- An annotated classbeanManager
- The Bean managerMethod Detail |
---|
public static <T> NewSessionBean<T> of(InternalEjbDescriptor<T> ejbDescriptor, BeanManagerImpl beanManager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
clazz
- The annotated classbeanManager
- The Bean manager
public Class<? extends Annotation> getScope()
getScope
in interface javax.enterprise.inject.spi.Bean<T>
getScope
in class AbstractBean<T,Class<T>>
Bean.getScope()
public boolean isAlternative()
isAlternative
in interface javax.enterprise.inject.spi.Bean<T>
isAlternative
in class AbstractBean<T,Class<T>>
public String getName()
getName
in interface javax.enterprise.inject.spi.Bean<T>
getName
in class AbstractBean<T,Class<T>>
Bean.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()
SessionBean
checkScopeAllowed
in class SessionBean<T>
protected void registerInterceptors()
registerInterceptors
in class SessionBean<T>
public String toString()
toString
in class SessionBean<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |