|
||||||||||
| 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,S>
T - the type of beanS - the Class> of the bean typepublic abstract class AbstractBean<T,S>
An abstract bean representation common for all beans
| Field Summary | |
|---|---|
protected java.util.Set<java.lang.annotation.Annotation> |
bindings
|
protected BeanManagerImpl |
manager
|
protected java.lang.String |
name
|
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
scopeType
|
protected java.lang.Class<T> |
type
|
protected java.util.Set<java.lang.reflect.Type> |
types
|
| Fields inherited from class org.jboss.weld.bean.RIBean |
|---|
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR |
| Constructor Summary | |
|---|---|
AbstractBean(java.lang.String idSuffix,
BeanManagerImpl manager)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
addInjectionPoint(WeldInjectionPoint<?,?> injectionPoint)
|
protected void |
addInjectionPoints(java.lang.Iterable<? extends WeldInjectionPoint<?,?>> injectionPoints)
|
protected void |
checkDelegateInjectionPoints()
|
java.util.Set<WeldInjectionPoint<?,?>> |
getAnnotatedInjectionPoints()
|
abstract WeldAnnotated<T,S> |
getAnnotatedItem()
Returns the annotated time the bean represents |
protected abstract java.lang.String |
getDefaultName()
Gets the default name of the bean |
protected java.util.Set<WeldInjectionPoint<?,?>> |
getDelegateInjectionPoints()
|
protected MergedStereotypes<T,S> |
getMergedStereotypes()
Gets the merged stereotypes of the bean |
java.lang.String |
getName()
Gets the name of the bean |
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Gets the binding types |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Gets the scope type of the bean |
abstract AbstractBean<?,?> |
getSpecializedBean()
|
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes()
|
java.lang.Class<T> |
getType()
Gets the type of the bean |
java.util.Set<java.lang.reflect.Type> |
getTypes()
Gets the API types of the bean |
protected void |
initBindings()
Initializes the binding types |
protected void |
initDefaultBindings()
|
void |
initialize(BeanDeployerEnvironment environment)
Initializes the bean and its metadata |
protected void |
initName()
Initializes the name |
protected void |
initPolicy()
|
protected void |
initPrimitive()
Initializes the primitive flag |
protected void |
initProxyable()
|
protected abstract void |
initScopeType()
Initializes the scope type |
protected boolean |
initScopeTypeFromStereotype()
|
protected void |
initSerializable()
|
protected void |
initStereotypes()
|
protected void |
initTypes()
Initializes the API types |
boolean |
isAlternative()
|
boolean |
isDependent()
|
protected boolean |
isInitialized()
|
boolean |
isNormalScoped()
|
boolean |
isNullable()
Indicates if bean is nullable |
boolean |
isPrimitive()
Indicates if bean type is a primitive |
boolean |
isProxyable()
|
boolean |
isSerializable()
|
boolean |
isSpecializing()
|
protected void |
postSpecialize()
|
protected void |
preSpecialize(BeanDeployerEnvironment environment)
|
protected void |
specialize(BeanDeployerEnvironment environment)
|
| Methods inherited from class org.jboss.weld.bean.RIBean |
|---|
equals, getBeanClass, getDescription, getId, getInjectionPoints, getManager, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.enterprise.context.spi.Contextual |
|---|
create, destroy |
| Field Detail |
|---|
protected java.util.Set<java.lang.annotation.Annotation> bindings
protected java.lang.String name
protected java.lang.Class<? extends java.lang.annotation.Annotation> scopeType
protected java.lang.Class<T> type
protected java.util.Set<java.lang.reflect.Type> types
protected BeanManagerImpl manager
| Constructor Detail |
|---|
public AbstractBean(java.lang.String idSuffix,
BeanManagerImpl manager)
manager - The Bean manager| Method Detail |
|---|
protected boolean isInitialized()
public void initialize(BeanDeployerEnvironment environment)
initialize in class RIBean<T>protected void initStereotypes()
protected void checkDelegateInjectionPoints()
protected void addInjectionPoint(WeldInjectionPoint<?,?> injectionPoint)
protected void addInjectionPoints(java.lang.Iterable<? extends WeldInjectionPoint<?,?>> injectionPoints)
protected java.util.Set<WeldInjectionPoint<?,?>> getDelegateInjectionPoints()
protected void initTypes()
protected void initBindings()
protected void initDefaultBindings()
protected void initPolicy()
protected void initName()
protected void initProxyable()
protected void initPrimitive()
protected abstract void initScopeType()
protected boolean initScopeTypeFromStereotype()
protected void postSpecialize()
protected void preSpecialize(BeanDeployerEnvironment environment)
protected void specialize(BeanDeployerEnvironment environment)
public abstract WeldAnnotated<T,S> getAnnotatedItem()
public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
org.jboss.weld.bean.BaseBean#getQualifiers()protected abstract java.lang.String getDefaultName()
public abstract AbstractBean<?,?> getSpecializedBean()
getSpecializedBean in class RIBean<T>public java.util.Set<WeldInjectionPoint<?,?>> getAnnotatedInjectionPoints()
getAnnotatedInjectionPoints in class RIBean<T>protected MergedStereotypes<T,S> getMergedStereotypes()
public java.lang.String getName()
org.jboss.weld.bean.BaseBean#getName()public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
org.jboss.weld.bean.BaseBean#getScope()public java.lang.Class<T> getType()
getType in class RIBean<T>public java.util.Set<java.lang.reflect.Type> getTypes()
org.jboss.weld.bean.BaseBean#getTypeClosure()public boolean isNullable()
org.jboss.weld.bean.BaseBean#isNullable()public boolean isPrimitive()
isPrimitive in class RIBean<T>public boolean isSerializable()
protected void initSerializable()
public boolean isProxyable()
isProxyable in class RIBean<T>public boolean isDependent()
isDependent in class RIBean<T>public boolean isNormalScoped()
public boolean isAlternative()
public boolean isSpecializing()
isSpecializing in class RIBean<T>public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||