public abstract class IsolatedForwardingBean<T> extends ForwardingBeanAttributes<T> implements Bean<T>
Bean. Separate delegate is used for BeanAttributes methods, allowing this class
to be used for processing of extension-provided beans.ProcessBeanAttributes| Modifier and Type | Class and Description |
|---|---|
static class |
IsolatedForwardingBean.Impl<T> |
| Constructor and Description |
|---|
IsolatedForwardingBean() |
| Modifier and Type | Method and Description |
|---|---|
T |
create(CreationalContext<T> creationalContext)
Create a new instance of the contextual type.
|
protected abstract Bean<T> |
delegate() |
void |
destroy(T instance,
CreationalContext<T> creationalContext)
Destroy an instance of the contextual type.
|
boolean |
equals(Object obj) |
Class<?> |
getBeanClass()
The bean class of the managed bean or session bean or of the bean that declares the producer method or
field.
|
Set<InjectionPoint> |
getInjectionPoints()
Obtains the
InjectionPoint objects representing injection points of the bean, that
will be validated by the container at initialization time. |
int |
hashCode() |
String |
toString() |
attributes, getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullableclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isNullablepublic T create(CreationalContext<T> creationalContext)
ContextualCreationalContext when obtaining contextual references to inject, in order to ensure
that any dependent objects are associated with the contextual instance that is being created. An implementation may call
CreationalContext.push(Object) between instantiation and injection to help the
container minimize the use of client proxy objects.create in interface Contextual<T>creationalContext - the context in which this instance is being createdpublic void destroy(T instance, CreationalContext<T> creationalContext)
ContextualCreationalContext.release() to allow the container to destroy dependent objects of
the contextual instance.destroy in interface Contextual<T>instance - the contextual instance to destroycreationalContext - the context in which this instance was createdpublic Class<?> getBeanClass()
BeangetBeanClass in interface Bean<T>public Set<InjectionPoint> getInjectionPoints()
BeanInjectionPoint objects representing injection points of the bean, that
will be validated by the container at initialization time.getInjectionPoints in interface Bean<T>public int hashCode()
hashCode in class ForwardingBeanAttributes<T>public boolean equals(Object obj)
equals in class ForwardingBeanAttributes<T>Copyright © 2012 Seam Framework. All Rights Reserved.