org.jboss.weld.bean.builtin.facade
Class AbstractFacadeBean<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.facade.AbstractFacadeBean<T>
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<T>, javax.enterprise.inject.spi.Bean<T>, javax.enterprise.inject.spi.PassivationCapable
Direct Known Subclasses:
EventBean, InstanceBean

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


Field Summary
 
Fields inherited from class org.jboss.weld.bean.RIBean
BEAN_ID_PREFIX, BEAN_ID_SEPARATOR
 
Constructor Summary
protected AbstractFacadeBean(java.lang.String idSuffix, BeanManagerImpl manager)
           
 
Method Summary
 T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
 void destroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
protected abstract  T newInstance(java.lang.reflect.Type type, java.util.Set<java.lang.annotation.Annotation> annotations)
           
 
Methods inherited from class org.jboss.weld.bean.builtin.AbstractBuiltInBean
getAnnotatedInjectionPoints, getDescription, getName, getQualifiers, getScope, getSpecializedBean, getStereotypes, initialize, isAlternative, isNullable, isPrimitive, isProxyable, isSpecializing
 
Methods inherited from class org.jboss.weld.bean.RIBean
equals, getBeanClass, getId, getInjectionPoints, getManager, 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
 

Constructor Detail

AbstractFacadeBean

protected AbstractFacadeBean(java.lang.String idSuffix,
                             BeanManagerImpl manager)
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)

newInstance

protected abstract T newInstance(java.lang.reflect.Type type,
                                 java.util.Set<java.lang.annotation.Annotation> annotations)


Copyright © 2008-2009 Seam Framework. All Rights Reserved.