|
||||||||||
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>
T
- E
- public abstract class AbstractClassBean<T>
An abstract bean representation common for class-based beans
Field Summary | |
---|---|
protected AnnotatedClass<T> |
annotatedItem
|
Fields inherited from class org.jboss.webbeans.bean.AbstractBean |
---|
_serializable, bindings, dependentInstancesStore, deploymentType, injectionPoints, manager, name, scopeType, type, types |
Constructor Summary | |
---|---|
protected |
AbstractClassBean(AnnotatedClass<T> type,
ManagerImpl manager)
Constructor |
Method Summary | |
---|---|
protected void |
callInitializers(T instance,
CreationalContext<T> creationalContext)
Calls all initializers of the bean |
protected void |
checkBeanImplementation()
Validates the bean implementation |
protected void |
checkScopeAllowed()
Validate that the scope type is allowed by the stereotypes on the bean and the bean type |
AnnotatedClass<T> |
getAnnotatedItem()
Gets the annotated item |
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
getDefaultDeploymentType()
Gets the default deployment type |
protected java.lang.String |
getDefaultName()
Gets the default name |
java.lang.String |
getId()
|
java.util.Set<? extends MethodInjectionPoint<?>> |
getInitializerMethods()
Gets the annotated methods |
java.util.Set<java.lang.String> |
getSuperclasses()
|
protected void |
initDeploymentType()
Initializes the deployment types |
void |
initialize(BeanDeployerEnvironment environment)
Initializes the bean and its metadata |
protected void |
initInitializerMethods()
Initializes the initializer methods |
protected void |
initInjectionPoints()
Initializes the injection points |
protected void |
initScopeType()
Initializes the scope type |
protected void |
initType()
Initializes the bean type |
protected void |
injectBoundFields(T instance,
CreationalContext<T> creationalContext)
Injects bound fields |
protected void |
preSpecialize(BeanDeployerEnvironment environment)
|
java.lang.String |
toString()
Gets a string representation |
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 |
Methods inherited from interface javax.context.Contextual |
---|
create, destroy |
Field Detail |
---|
protected AnnotatedClass<T> annotatedItem
Constructor Detail |
---|
protected AbstractClassBean(AnnotatedClass<T> type, ManagerImpl manager)
type
- The typemanager
- The Web Beans managerMethod Detail |
---|
public void initialize(BeanDeployerEnvironment environment)
initialize
in class AbstractBean<T,java.lang.Class<T>>
protected void injectBoundFields(T instance, CreationalContext<T> creationalContext)
instance
- The instance to inject intoprotected void callInitializers(T instance, CreationalContext<T> creationalContext)
instance
- The bean instanceprotected void initType()
protected void initInjectionPoints()
protected void initInitializerMethods()
protected void initScopeType()
AbstractBean
initScopeType
in class AbstractBean<T,java.lang.Class<T>>
protected void initDeploymentType()
AbstractBean
initDeploymentType
in class AbstractBean<T,java.lang.Class<T>>
protected void checkScopeAllowed()
protected void checkBeanImplementation()
protected void preSpecialize(BeanDeployerEnvironment environment)
preSpecialize
in class AbstractBean<T,java.lang.Class<T>>
public AnnotatedClass<T> getAnnotatedItem()
getAnnotatedItem
in class AbstractBean<T,java.lang.Class<T>>
protected java.lang.String getDefaultName()
getDefaultName
in class AbstractBean<T,java.lang.Class<T>>
public java.util.Set<? extends MethodInjectionPoint<?>> getInitializerMethods()
public java.util.Set<java.lang.String> getSuperclasses()
public java.lang.String toString()
toString
in class AbstractBean<T,java.lang.Class<T>>
protected java.lang.Class<? extends java.lang.annotation.Annotation> getDefaultDeploymentType()
AbstractBean
getDefaultDeploymentType
in class AbstractBean<T,java.lang.Class<T>>
public java.lang.String getId()
getId
in class RIBean<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |