public abstract class AbstractReceiverBean<X,T,S extends Member> extends AbstractBean<T,S>
alternative, beanManager, name, qualifiers, scope, type, types
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
Constructor and Description |
---|
AbstractReceiverBean(String idSuffix,
AbstractClassBean<X> declaringBean,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services) |
Modifier and Type | Method and Description |
---|---|
AbstractClassBean<X> |
getDeclaringBean()
Returns the declaring bean
|
protected Object |
getReceiver(javax.enterprise.context.spi.CreationalContext<?> productCreationalContext,
javax.enterprise.context.spi.CreationalContext<?> receiverCreationalContext)
Gets the receiver of the product.
|
abstract WeldMember<T,?,S> |
getWeldAnnotated()
Returns the annotated item the bean represents
|
void |
initialize(BeanDeployerEnvironment environment)
Initializes the bean and its metadata
|
addInjectionPoint, addInjectionPoints, checkDelegateInjectionPoints, checkType, cleanupAfterBoot, getDefaultName, getDelegateInjectionPoints, getMergedStereotypes, getName, getNewInjectionPoints, getQualifiers, getScope, getServices, getSpecializedBean, getStereotypes, getType, getTypedTypes, getTypes, getWeldInjectionPoints, hasDefaultProducer, initAlternative, initDefaultQualifiers, initializeAfterBeanDiscovery, initName, initQualifiers, initScope, initScopeFromStereotype, initStereotypes, initTypes, isAlternative, isDependent, isInitialized, isNormalScoped, isNullable, isPrimitive, isProxyRequired, isSpecializing, postSpecialize, preSpecialize, specialize
equals, getBeanClass, getBeanManager, getId, getInjectionPoints, getQualifierInstances, hashCode, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, toString
public AbstractReceiverBean(String idSuffix, AbstractClassBean<X> declaringBean, BeanManagerImpl beanManager, org.jboss.weld.bootstrap.api.ServiceRegistry services)
public void initialize(BeanDeployerEnvironment environment)
AbstractBean
initialize
in class AbstractBean<T,S extends Member>
protected Object getReceiver(javax.enterprise.context.spi.CreationalContext<?> productCreationalContext, javax.enterprise.context.spi.CreationalContext<?> receiverCreationalContext)
productCreationalContext
- the creational context of the produced instancereceiverCreationalCOntext
- the creational context of the receiverpublic AbstractClassBean<X> getDeclaringBean()
public abstract WeldMember<T,?,S> getWeldAnnotated()
AbstractBean
getWeldAnnotated
in class AbstractBean<T,S extends Member>
Copyright © 2013 Seam Framework. All rights reserved.