public class GenericProducerMethod<T,X> extends ForwardingBean<T>
Modifier and Type | Method and Description |
---|---|
T |
create(javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
protected javax.enterprise.inject.spi.Bean<T> |
delegate()
All calls to this
Bean instance are forwarded to the delegate
unless overridden. |
void |
destroy(T instance,
javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
boolean |
equals(Object obj) |
Class<?> |
getBeanClass() |
protected javax.enterprise.inject.spi.BeanManager |
getBeanManager() |
protected javax.enterprise.inject.spi.Bean<?> |
getDeclaringBean() |
protected Annotation[] |
getDeclaringBeanQualifiers() |
protected Type |
getDeclaringBeanType() |
String |
getId() |
Set<Annotation> |
getQualifiers() |
protected Object |
getReceiver(javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
Class<? extends Annotation> |
getScope() |
protected T |
getValue(Object receiver,
javax.enterprise.context.spi.CreationalContext<T> creationalContext) |
int |
hashCode() |
boolean |
isAlternative() |
getInjectionPoints, getName, getStereotypes, getTypes, isNullable, toString
protected T getValue(Object receiver, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
public void destroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
destroy
in interface javax.enterprise.context.spi.Contextual<T>
destroy
in class ForwardingBean<T>
protected Annotation[] getDeclaringBeanQualifiers()
protected Type getDeclaringBeanType()
public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
create
in interface javax.enterprise.context.spi.Contextual<T>
create
in class ForwardingBean<T>
protected Object getReceiver(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
protected javax.enterprise.inject.spi.Bean<?> getDeclaringBean()
public Class<? extends Annotation> getScope()
getScope
in interface javax.enterprise.inject.spi.BeanAttributes<T>
getScope
in class ForwardingBean<T>
protected javax.enterprise.inject.spi.BeanManager getBeanManager()
protected javax.enterprise.inject.spi.Bean<T> delegate()
ForwardingBean
Bean
instance are forwarded to the delegate
unless overridden.delegate
in class ForwardingBean<T>
Bean
public Set<Annotation> getQualifiers()
getQualifiers
in interface javax.enterprise.inject.spi.BeanAttributes<T>
getQualifiers
in class ForwardingBean<T>
public String getId()
getId
in interface javax.enterprise.inject.spi.PassivationCapable
public boolean equals(Object obj)
equals
in class ForwardingBean<T>
public int hashCode()
hashCode
in class ForwardingBean<T>
public Class<?> getBeanClass()
getBeanClass
in interface javax.enterprise.inject.spi.Bean<T>
getBeanClass
in class ForwardingBean<T>
public boolean isAlternative()
isAlternative
in interface javax.enterprise.inject.spi.BeanAttributes<T>
isAlternative
in class ForwardingBean<T>
Copyright © 2008–2013 Seam Framework. All rights reserved.