org.jboss.weld.bean.builtin
Class AbstractBuiltInBean<T>

java.lang.Object
  extended by org.jboss.weld.bean.RIBean<T>
      extended by org.jboss.weld.bean.builtin.AbstractBuiltInBean<T>
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.PassivationCapable
Direct Known Subclasses:
AbstractEEBean, AbstractFacadeBean, BeanManagerBean, ContextBean, ConversationBean, ExtensionBean, InjectionPointBean

public abstract class AbstractBuiltInBean<T>
extends RIBean<T>


Field Summary
 
Fields inherited from class org.jboss.weld.bean.RIBean
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
 
Constructor Summary
protected AbstractBuiltInBean(String idSuffix, BeanManagerImpl beanManager)
           
 
Method Summary
 void cleanupAfterBoot()
          This method is called after the container is started allowing the bean to release any resources that are only required at boot time
 String getName()
           
 Set<Annotation> getQualifiers()
           
 Class<? extends Annotation> getScope()
           
 RIBean<?> getSpecializedBean()
           
 Set<Class<? extends Annotation>> getStereotypes()
           
 Set<WeldInjectionPoint<?,?>> getWeldInjectionPoints()
           
 void initialize(BeanDeployerEnvironment environment)
           
 void initializeAfterBeanDiscovery()
          In particular cases, the deployer must perform some initialization operations only after all beans have been deployed (e.g.
 boolean isAlternative()
           
 boolean isNullable()
           
 boolean isPassivationCapableBean()
           
 boolean isPassivationCapableDependency()
           
 boolean isPrimitive()
           
 boolean isProxyable()
           
 boolean isProxyRequired()
           
 boolean isSpecializing()
           
 
Methods inherited from class org.jboss.weld.bean.RIBean
equals, getBeanClass, getBeanManager, getId, getInjectionPoints, getQualifierInstances, getType, hashCode, isDependent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.Bean
getTypes
 
Methods inherited from interface javax.enterprise.context.spi.Contextual
create, destroy
 

Constructor Detail

AbstractBuiltInBean

protected AbstractBuiltInBean(String idSuffix,
                              BeanManagerImpl beanManager)
Method Detail

initialize

public void initialize(BeanDeployerEnvironment environment)
Specified by:
initialize in class RIBean<T>

cleanupAfterBoot

public void cleanupAfterBoot()
Description copied from class: RIBean
This method is called after the container is started allowing the bean to release any resources that are only required at boot time

Specified by:
cleanupAfterBoot in class RIBean<T>

initializeAfterBeanDiscovery

public void initializeAfterBeanDiscovery()
Description copied from class: RIBean
In particular cases, the deployer must perform some initialization operations only after all beans have been deployed (e.g. for initializing decorators taking into account the possibility of having custom decorators which are deployed through portable extensions)

Specified by:
initializeAfterBeanDiscovery in class RIBean<T>

getQualifiers

public Set<Annotation> getQualifiers()

getScope

public Class<? extends Annotation> getScope()

getSpecializedBean

public RIBean<?> getSpecializedBean()
Specified by:
getSpecializedBean in class RIBean<T>

getName

public String getName()

getStereotypes

public Set<Class<? extends Annotation>> getStereotypes()

getWeldInjectionPoints

public Set<WeldInjectionPoint<?,?>> getWeldInjectionPoints()
Specified by:
getWeldInjectionPoints in class RIBean<T>

isNullable

public boolean isNullable()

isPrimitive

public boolean isPrimitive()
Specified by:
isPrimitive in class RIBean<T>

isSpecializing

public boolean isSpecializing()
Specified by:
isSpecializing in class RIBean<T>

isAlternative

public boolean isAlternative()

isProxyable

public boolean isProxyable()
Specified by:
isProxyable in class RIBean<T>

isPassivationCapableBean

public boolean isPassivationCapableBean()
Specified by:
isPassivationCapableBean in class RIBean<T>

isPassivationCapableDependency

public boolean isPassivationCapableDependency()
Specified by:
isPassivationCapableDependency in class RIBean<T>

isProxyRequired

public boolean isProxyRequired()
Specified by:
isProxyRequired in class RIBean<T>


Copyright © 2013 Seam Framework. All Rights Reserved.