org.jboss.weld.bean.builtin.ee
Class AbstractEEBean<T>

java.lang.Object
  extended by org.jboss.weld.bean.RIBean<T>
      extended by org.jboss.weld.bean.builtin.AbstractBuiltInBean<T>
          extended by org.jboss.weld.bean.builtin.ee.AbstractEEBean<T>
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.PassivationCapable
Direct Known Subclasses:
DefaultValidatorBean, DefaultValidatorFactoryBean, PrincipalBean, UserTransactionBean

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


Field Summary
 
Fields inherited from class org.jboss.weld.bean.RIBean
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
 
Constructor Summary
protected AbstractEEBean(Class<T> type, Callable<T> callable, BeanManagerImpl beanManager)
           
 
Method Summary
 T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
 void destroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
 Class<T> getType()
           
 Set<Type> getTypes()
           
 
Methods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
cleanupAfterBoot, getName, getQualifiers, getScope, getSpecializedBean, getStereotypes, getWeldInjectionPoints, initialize, initializeAfterBeanDiscovery, isAlternative, isNullable, isPassivationCapableBean, isPassivationCapableDependency, isPrimitive, isProxyable, isProxyRequired, isSpecializing
 
Methods inherited from class org.jboss.weld.bean.RIBean
equals, getBeanClass, getBeanManager, getId, getInjectionPoints, getQualifierInstances, hashCode, isDependent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractEEBean

protected AbstractEEBean(Class<T> type,
                         Callable<T> callable,
                         BeanManagerImpl beanManager)
Method Detail

create

public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)

destroy

public void destroy(T instance,
                    javax.enterprise.context.spi.CreationalContext<T> creationalContext)

getType

public Class<T> getType()
Specified by:
getType in class RIBean<T>

getTypes

public Set<Type> getTypes()


Copyright © 2013 Seam Framework. All Rights Reserved.