|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.weld.bean.ForwardingBean<T>
T
- public abstract class ForwardingBean<T>
A delegating bean
Constructor Summary | |
---|---|
ForwardingBean()
|
Method Summary | |
---|---|
T |
create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Creates an instance of the delegate |
protected abstract javax.enterprise.inject.spi.Bean<T> |
delegate()
Abstract getter for the delegate |
void |
destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Destroys an instance through the delegate |
boolean |
equals(Object obj)
Compares an object with the delegate |
Class<?> |
getBeanClass()
|
Set<javax.enterprise.inject.spi.InjectionPoint> |
getInjectionPoints()
|
String |
getName()
Gets the name of the delegate |
Set<Annotation> |
getQualifiers()
Gets the binding types of the delegate |
Class<? extends Annotation> |
getScope()
Gets the scope type of the delegate |
Set<Class<? extends Annotation>> |
getStereotypes()
The stereotypes applied to this bean |
Set<Type> |
getTypes()
Gets the API types of the delegate |
int |
hashCode()
Gets the hash code of the delegate |
boolean |
isAlternative()
|
boolean |
isNullable()
Indicates if the delegate is nullable |
String |
toString()
Returns a string representation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ForwardingBean()
Method Detail |
---|
public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
create
in interface javax.enterprise.context.spi.Contextual<T>
protected abstract javax.enterprise.inject.spi.Bean<T> delegate()
public void destroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
destroy
in interface javax.enterprise.context.spi.Contextual<T>
instance
- The instance to destroypublic boolean equals(Object obj)
equals
in class Object
public Class<?> getBeanClass()
getBeanClass
in interface javax.enterprise.inject.spi.Bean<T>
public Set<Annotation> getQualifiers()
getQualifiers
in interface javax.enterprise.inject.spi.Bean<T>
public Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface javax.enterprise.inject.spi.Bean<T>
public String getName()
getName
in interface javax.enterprise.inject.spi.Bean<T>
public Set<Class<? extends Annotation>> getStereotypes()
getStereotypes
in interface javax.enterprise.inject.spi.Bean<T>
public Class<? extends Annotation> getScope()
getScope
in interface javax.enterprise.inject.spi.Bean<T>
public Set<Type> getTypes()
getTypes
in interface javax.enterprise.inject.spi.Bean<T>
public int hashCode()
hashCode
in class Object
public boolean isNullable()
isNullable
in interface javax.enterprise.inject.spi.Bean<T>
public boolean isAlternative()
isAlternative
in interface javax.enterprise.inject.spi.Bean<T>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |