|
||||||||||
| 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, 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 |
boolean |
equals(java.lang.Object other)
|
protected 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.util.Set<? extends MethodInjectionPoint<?>> |
getInitializerMethods()
Gets the annotated methods |
protected void |
init()
Initializes the bean and its metadata |
protected void |
initDeploymentType()
Initializes the deployment types |
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 |
preCheckSpecialization()
|
java.lang.String |
toString()
Gets a string representation |
| Methods inherited from class org.jboss.webbeans.bean.RIBean |
|---|
getManager |
| 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 manager| Method Detail |
|---|
protected void init()
init in class AbstractBean<T,java.lang.Class<T>>
protected void injectBoundFields(T instance,
CreationalContext<T> creationalContext)
instance - The instance to inject into
protected void callInitializers(T instance,
CreationalContext<T> creationalContext)
instance - The bean instanceprotected void initType()
initType in class AbstractBean<T,java.lang.Class<T>>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 preCheckSpecialization()
preCheckSpecialization in class AbstractBean<T,java.lang.Class<T>>protected 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.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 boolean equals(java.lang.Object other)
equals in class AbstractBean<T,java.lang.Class<T>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||