|
||||||||||
| 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(java.lang.Object obj)
Compares an object with the delegate |
java.lang.Class<?> |
getBeanClass()
|
java.util.Set<javax.enterprise.inject.spi.InjectionPoint> |
getInjectionPoints()
|
java.lang.String |
getName()
Gets the name of the delegate |
java.util.Set<java.lang.annotation.Annotation> |
getQualifiers()
Gets the binding types of the delegate |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getScope()
Gets the scope type of the delegate |
java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> |
getStereotypes()
The stereotypes applied to this bean |
java.util.Set<java.lang.reflect.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 |
java.lang.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(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.Class<?> getBeanClass()
getBeanClass in interface javax.enterprise.inject.spi.Bean<T>public java.util.Set<java.lang.annotation.Annotation> getQualifiers()
getQualifiers in interface javax.enterprise.inject.spi.Bean<T>public java.util.Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
getInjectionPoints in interface javax.enterprise.inject.spi.Bean<T>public java.lang.String getName()
getName in interface javax.enterprise.inject.spi.Bean<T>public java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
getStereotypes in interface javax.enterprise.inject.spi.Bean<T>public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
getScope in interface javax.enterprise.inject.spi.Bean<T>public java.util.Set<java.lang.reflect.Type> getTypes()
getTypes in interface javax.enterprise.inject.spi.Bean<T>public int hashCode()
hashCode in class java.lang.Objectpublic boolean isNullable()
isNullable in interface javax.enterprise.inject.spi.Bean<T>public boolean isAlternative()
isAlternative in interface javax.enterprise.inject.spi.Bean<T>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 | |||||||||