org.apache.webbeans.ejb.common.component
Class EjbBeanBuilder<T,E extends BaseEjbBean<T>>

java.lang.Object
  extended by org.apache.webbeans.ejb.common.component.EjbBeanBuilder<T,E>
Type Parameters:
T - ejb class type

public abstract class EjbBeanBuilder<T,E extends BaseEjbBean<T>>
extends Object

EjbBeanCreatorImpl.

Version:
$Rev$ $Date$

Field Summary
protected  AnnotatedType<T> annotatedType
           
protected  BeanAttributesImpl<T> beanAttributes
           
protected  WebBeansContext webBeansContext
           
 
Constructor Summary
EjbBeanBuilder(WebBeansContext webBeansContext, AnnotatedType<T> annotatedType, BeanAttributesImpl<T> beanAttributes)
           
 
Method Summary
protected  InjectionTarget<T> buildInjectionTarget(AnnotatedType<T> annotatedType, Set<InjectionPoint> points, WebBeansContext webBeansContext, List<AnnotatedMethod<?>> postConstructMethods, List<AnnotatedMethod<?>> preDestroyMethods)
           
protected  E createBean(Class<T> beanClass)
           
protected abstract  E createBean(Class<T> beanClass, boolean beanEnabled)
           
 E getBean()
           
protected abstract  T getInstance(CreationalContext<T> creationalContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

webBeansContext

protected final WebBeansContext webBeansContext

annotatedType

protected final AnnotatedType<T> annotatedType

beanAttributes

protected final BeanAttributesImpl<T> beanAttributes
Constructor Detail

EjbBeanBuilder

public EjbBeanBuilder(WebBeansContext webBeansContext,
                      AnnotatedType<T> annotatedType,
                      BeanAttributesImpl<T> beanAttributes)
Method Detail

buildInjectionTarget

protected InjectionTarget<T> buildInjectionTarget(AnnotatedType<T> annotatedType,
                                                  Set<InjectionPoint> points,
                                                  WebBeansContext webBeansContext,
                                                  List<AnnotatedMethod<?>> postConstructMethods,
                                                  List<AnnotatedMethod<?>> preDestroyMethods)

createBean

protected final E createBean(Class<T> beanClass)

createBean

protected abstract E createBean(Class<T> beanClass,
                                boolean beanEnabled)

getBean

public E getBean()

getInstance

protected abstract T getInstance(CreationalContext<T> creationalContext)


Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.