|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.inject.manager.Bean<T>
org.jboss.webbeans.bean.RIBean<T>
org.jboss.webbeans.bean.AbstractBean<T,java.lang.Class<T>>
org.jboss.webbeans.bean.AbstractClassBean<T>
org.jboss.webbeans.bean.EnterpriseBean<T>
org.jboss.webbeans.bean.NewEnterpriseBean<T>
public class NewEnterpriseBean<T>
Represents a @New enterprise bean
Field Summary |
---|
Fields inherited from class org.jboss.webbeans.bean.AbstractClassBean |
---|
annotatedItem |
Fields inherited from class org.jboss.webbeans.bean.AbstractBean |
---|
_serializable, bindings, dependentInstancesStore, deploymentType, injectionPoints, manager, name, scopeType, type, types |
Constructor Summary | |
---|---|
protected |
NewEnterpriseBean(AnnotatedClass<T> type,
ManagerImpl manager,
BeanDeployerEnvironment environment)
Protected constructor |
Method Summary | ||
---|---|---|
protected void |
checkScopeAllowed()
Check that the scope type is allowed by the stereotypes on the bean and the bean type |
|
java.util.Set<java.lang.annotation.Annotation> |
getBindings()
Gets the bindings |
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getDeploymentType()
Gets the deployment type |
|
java.lang.String |
getName()
Gets the name of the bean |
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScopeType()
Gets the scope type |
|
boolean |
isSpecializing()
|
|
static
|
of(AnnotatedClass<T> clazz,
ManagerImpl manager,
BeanDeployerEnvironment environment)
Creates an instance of a NewEnterpriseBean from an annotated class |
Methods inherited from class org.jboss.webbeans.bean.EnterpriseBean |
---|
canCallRemoveMethods, checkConflictingRoles, checkObserverMethods, create, createReference, destroy, getEjbDescriptor, getSpecializedBean, initialize, initProxyClass, initSerializable, initTypes, isMethodExistsOnTypes, postConstruct, preDestroy, preSpecialize, specialize, toString |
Methods inherited from class org.jboss.webbeans.bean.AbstractClassBean |
---|
callInitializers, checkBeanImplementation, getAnnotatedItem, getDefaultDeploymentType, getDefaultName, getId, getInitializerMethods, getSuperclasses, initDeploymentType, initInitializerMethods, initInjectionPoints, initScopeType, initType, injectBoundFields |
Methods inherited from class org.jboss.webbeans.bean.AbstractBean |
---|
checkDeploymentType, checkRequiredTypesImplemented, getDeploymentType, getInjectionPoints, getMergedStereotypes, getType, getTypes, initBindings, initDefaultBindings, initDeploymentTypeFromStereotype, initName, initPrimitive, initProxyable, initScopeTypeFromStereotype, isAssignableFrom, isDependent, isInitialized, isNullable, isPrimitive, isProxyable, isSerializable, postSpecialize |
Methods inherited from class org.jboss.webbeans.bean.RIBean |
---|
createId, equals, getManager, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected NewEnterpriseBean(AnnotatedClass<T> type, ManagerImpl manager, BeanDeployerEnvironment environment)
type
- An annotated classmanager
- The Web Beans managerMethod Detail |
---|
public static <T> NewEnterpriseBean<T> of(AnnotatedClass<T> clazz, ManagerImpl manager, BeanDeployerEnvironment environment)
clazz
- The annotated classmanager
- The Web Beans manager
public java.lang.Class<? extends java.lang.annotation.Annotation> getScopeType()
getScopeType
in class AbstractBean<T,java.lang.Class<T>>
Bean.getScopeType()
public java.lang.Class<? extends java.lang.annotation.Annotation> getDeploymentType()
getDeploymentType
in class AbstractBean<T,java.lang.Class<T>>
Bean.getDeploymentType()
public java.lang.String getName()
getName
in class AbstractBean<T,java.lang.Class<T>>
Bean.getName()
public java.util.Set<java.lang.annotation.Annotation> getBindings()
getBindings
in class AbstractBean<T,java.lang.Class<T>>
Bean.getBindings()
public boolean isSpecializing()
isSpecializing
in class AbstractBean<T,java.lang.Class<T>>
protected void checkScopeAllowed()
EnterpriseBean
checkScopeAllowed
in class EnterpriseBean<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |