T
- public abstract class ForwardingBean<T> extends Object implements javax.enterprise.inject.spi.Bean<T>
Constructor and Description |
---|
ForwardingBean() |
Modifier and Type | Method and Description |
---|---|
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
|
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)
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()
public boolean isNullable()
isNullable
in interface javax.enterprise.inject.spi.Bean<T>
public boolean isAlternative()
isAlternative
in interface javax.enterprise.inject.spi.Bean<T>
Copyright © 2013 Seam Framework. All rights reserved.