org.jboss.weld.bean
Class AbstractReceiverBean<X,T,S extends Member>
java.lang.Object
org.jboss.weld.bean.RIBean<T>
org.jboss.weld.bean.AbstractBean<T,S>
org.jboss.weld.bean.AbstractReceiverBean<X,T,S>
- All Implemented Interfaces:
- javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.PassivationCapable
- Direct Known Subclasses:
- AbstractProducerBean, DisposalMethod
public abstract class AbstractReceiverBean<X,T,S extends Member>
- extends AbstractBean<T,S>
- Author:
- pmuir, alesj
Methods inherited from class org.jboss.weld.bean.AbstractBean |
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 |
Methods inherited from class org.jboss.weld.bean.RIBean |
equals, getBeanClass, getBeanManager, getId, getInjectionPoints, getQualifierInstances, hashCode, isPassivationCapableBean, isPassivationCapableDependency, isProxyable, toString |
Methods inherited from interface javax.enterprise.context.spi.Contextual |
create, destroy |
AbstractReceiverBean
public AbstractReceiverBean(String idSuffix,
AbstractClassBean<X> declaringBean,
BeanManagerImpl beanManager,
org.jboss.weld.bootstrap.api.ServiceRegistry services)
initialize
public void initialize(BeanDeployerEnvironment environment)
- Description copied from class:
AbstractBean
- Initializes the bean and its metadata
- Overrides:
initialize
in class AbstractBean<T,S extends Member>
getReceiver
protected Object getReceiver(javax.enterprise.context.spi.CreationalContext<?> productCreationalContext,
javax.enterprise.context.spi.CreationalContext<?> receiverCreationalContext)
- Gets the receiver of the product. The two creational contexts need to be separated because the receiver only serves the product
creation (it is not a dependent instance of the created instance).
- Parameters:
productCreationalContext
- the creational context of the produced instancereceiverCreationalCOntext
- the creational context of the receiver
- Returns:
- The receiver
getDeclaringBean
public AbstractClassBean<X> getDeclaringBean()
- Returns the declaring bean
- Returns:
- The bean representation
getWeldAnnotated
public abstract WeldMember<T,?,S> getWeldAnnotated()
- Description copied from class:
AbstractBean
- Returns the annotated item the bean represents
- Specified by:
getWeldAnnotated
in class AbstractBean<T,S extends Member>
- Returns:
- The annotated item
Copyright © 2013 Seam Framework. All Rights Reserved.