|
||||||||||
| 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.ForwardingBean<T>
T - public abstract class ForwardingBean<T>
A delegating bean
| Constructor Summary | |
|---|---|
ForwardingBean(Manager manager)
Constructor |
|
| Method Summary | |
|---|---|
T |
create()
Creates an instance of the delegate |
protected abstract Bean<T> |
delegate()
Abstract getter for the delegate |
void |
destroy(T instance)
Destroys an instance through the delegate |
boolean |
equals(java.lang.Object obj)
Compares an object with the delegate |
java.util.Set<java.lang.annotation.Annotation> |
getBindingTypes()
Gets the binding types of the delegate |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getDeploymentType()
Gets the deployment types of the delegate |
java.lang.String |
getName()
Gets the name of the delegate |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScopeType()
Gets the scope type of the delegate |
java.util.Set<java.lang.Class<?>> |
getTypes()
Gets the API types of the delegate |
int |
hashCode()
Gets the hash code of the delegate |
boolean |
isNullable()
Indicates if the delegate is nullable |
boolean |
isSerializable()
Indicates if the delegate is serializable |
java.lang.String |
toString()
Returns a string representation |
| Methods inherited from class javax.webbeans.manager.Bean |
|---|
getManager |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForwardingBean(Manager manager)
manager - The Web Beans manager| Method Detail |
|---|
public T create()
create in interface Contextual<T>create in class Bean<T>public void destroy(T instance)
destroy in interface Contextual<T>destroy in class Bean<T>instance - The instance to destroypublic java.util.Set<java.lang.annotation.Annotation> getBindingTypes()
getBindingTypes in class Bean<T>public java.lang.Class<? extends java.lang.annotation.Annotation> getDeploymentType()
getDeploymentType in class Bean<T>public java.lang.String getName()
getName in class Bean<T>public java.lang.Class<? extends java.lang.annotation.Annotation> getScopeType()
getScopeType in class Bean<T>public java.util.Set<java.lang.Class<?>> getTypes()
getTypes in class Bean<T>public boolean isNullable()
isNullable in class Bean<T>public boolean isSerializable()
isSerializable in class Bean<T>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectprotected abstract Bean<T> delegate()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||