|
||||||||||
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.ForwardingBean<T>
T
- public abstract class ForwardingBean<T>
A delegating bean
Constructor Summary | |
---|---|
ForwardingBean(Manager manager)
Constructor |
Method Summary | |
---|---|
T |
create(CreationalContext<T> creationalContext)
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> |
getBindings()
Gets the binding types of the delegate |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getDeploymentType()
Gets the deployment types of the delegate |
java.util.Set<? extends InjectionPoint> |
getInjectionPoints()
The injection points of a bean |
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<? extends java.lang.reflect.Type> |
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.inject.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 managerMethod Detail |
---|
public T create(CreationalContext<T> creationalContext)
creationalContext
- the creational context in which incompletely initialized
contexts may be placed
public void destroy(T instance)
instance
- The instance to destroypublic java.util.Set<java.lang.annotation.Annotation> getBindings()
getBindings
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<? extends java.lang.reflect.Type> getTypes()
getTypes
in class Bean<T>
public boolean isNullable()
isNullable
in class Bean<T>
public boolean isSerializable()
isSerializable
in class Bean<T>
public java.util.Set<? extends InjectionPoint> getInjectionPoints()
Bean
getInjectionPoints
in class Bean<T>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
protected 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 |