|
||||||||||
| 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,S>
org.jboss.webbeans.bean.AbstractProducerBean<T,S>
T - S - public abstract class AbstractProducerBean<T,S>
The implicit producer bean
| Field Summary | |
|---|---|
protected AbstractClassBean<?> |
declaringBean
|
| Fields inherited from class org.jboss.webbeans.bean.AbstractBean |
|---|
apiTypes, deploymentType, injectionPoints, manager, name, scopeType, type |
| Constructor Summary | |
|---|---|
AbstractProducerBean(AbstractClassBean<?> declaringBean,
ManagerImpl manager)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
checkProducerReturnType()
Validates the producer method |
protected void |
checkReturnValue(T instance)
Validates the return value |
AbstractClassBean<?> |
getDeclaringBean()
Returns the declaring bean |
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
getDefaultDeploymentType()
Gets the deployment types |
protected java.lang.Object |
getReceiver()
Gets the receiver of the product |
protected void |
init()
Initializes the bean and its metadata |
protected void |
initApiTypes()
Initializes the API types |
protected void |
initType()
Initializes the type |
java.lang.String |
toString()
Gets a string representation |
| Methods inherited from class org.jboss.webbeans.bean.AbstractBean |
|---|
bindDecorators, bindInterceptors, checkDeploymentType, getAnnotatedItem, getBindingTypes, getDeclaredBeanType, getDefaultName, getDeploymentType, getDeploymentType, getInjectionPoints, getMergedStereotypes, getName, getScopeType, getSpecializedType, getType, getTypes, initBindingTypes, initDeploymentType, initInjectionPoints, initName, initPrimitive, initScopeType, isAssignableFrom, isNullable, isPrimitive, isSerializable, toDetailedString |
| 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 AbstractClassBean<?> declaringBean
| Constructor Detail |
|---|
public AbstractProducerBean(AbstractClassBean<?> declaringBean,
ManagerImpl manager)
declaringBean - The declaring beanmanager - The Web Beans manager| Method Detail |
|---|
protected java.lang.Class<? extends java.lang.annotation.Annotation> getDefaultDeploymentType()
getDefaultDeploymentType in class AbstractBean<T,S>protected void initApiTypes()
initApiTypes in class AbstractBean<T,S>protected void initType()
initType in class AbstractBean<T,S>public AbstractClassBean<?> getDeclaringBean()
protected void checkProducerReturnType()
protected void init()
init in class AbstractBean<T,S>protected void checkReturnValue(T instance)
instance - The instance to validateprotected java.lang.Object getReceiver()
public java.lang.String toString()
toString in class AbstractBean<T,S>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||