|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.webbeans.manager.Bean<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 |
|---|
apiTypes, deploymentType, injectionPoints, manager, name, scopeType, type |
| Constructor Summary | |
|---|---|
AbstractClassBean(java.lang.Class<T> type,
ManagerImpl manager)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
checkBeanImplementation()
Validates the bean implementation |
protected void |
checkRequiredTypesImplemented()
Validates that the required types are implemented |
protected void |
checkScopeAllowed()
Validate that the scope type is allowed by the stereotypes on the bean and the bean type |
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<AnnotatedMethod<java.lang.Object>> |
getInitializerMethods()
Gets the annotated methods |
java.util.Set<AnnotatedField<java.lang.Object>> |
getInjectableFields()
Gets the injectable fields |
java.util.Set<AnnotatedMethod<java.lang.Object>> |
getObserverMethods()
Gets the observer methods |
java.util.Set<AnnotatedField<java.lang.Object>> |
getProducerFields()
Gets the producer fields |
java.util.Set<AnnotatedMethod<java.lang.Object>> |
getProducerMethods()
Gets the producer methods |
protected void |
init()
Initializes the bean and its metadata |
protected void |
initInitializerMethods()
Initializes the initializer methods |
protected void |
initInjectionPoints()
Initializes the injection points |
protected void |
initType()
Initializes the bean type |
java.lang.String |
toDetailedString()
|
java.lang.String |
toString()
Gets a string representation |
| Methods inherited from class org.jboss.webbeans.bean.AbstractBean |
|---|
bindDecorators, bindInterceptors, checkDeploymentType, getBindingTypes, getDeclaredBeanType, getDeploymentType, getDeploymentType, getInjectionPoints, getMergedStereotypes, getName, getScopeType, getSpecializedType, getType, getTypes, initApiTypes, initBindingTypes, initDeploymentType, initName, initPrimitive, initScopeType, isAssignableFrom, isNullable, isPrimitive, isSerializable |
| Methods inherited from class javax.webbeans.manager.Bean |
|---|
create, destroy, getManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AnnotatedClass<T> annotatedItem
| Constructor Detail |
|---|
public AbstractClassBean(java.lang.Class<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 initType()
initType in class AbstractBean<T,java.lang.Class<T>>public java.util.Set<AnnotatedMethod<java.lang.Object>> getProducerMethods()
public java.util.Set<AnnotatedField<java.lang.Object>> getProducerFields()
public java.util.Set<AnnotatedMethod<java.lang.Object>> getObserverMethods()
protected void initInjectionPoints()
initInjectionPoints in class AbstractBean<T,java.lang.Class<T>>protected void initInitializerMethods()
protected void checkRequiredTypesImplemented()
protected void checkScopeAllowed()
protected void checkBeanImplementation()
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<AnnotatedField<java.lang.Object>> getInjectableFields()
public java.util.Set<AnnotatedMethod<java.lang.Object>> getInitializerMethods()
public java.lang.String toString()
toString in class AbstractBean<T,java.lang.Class<T>>public java.lang.String toDetailedString()
toDetailedString 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>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||