org.apache.webbeans.container
Class AbstractBeanManager

java.lang.Object
  extended by org.apache.webbeans.container.AbstractBeanManager
All Implemented Interfaces:
BeanManager
Direct Known Subclasses:
BeanManagerImpl, InjectableBeanManager

public abstract class AbstractBeanManager
extends Object
implements BeanManager


Constructor Summary
AbstractBeanManager()
           
 
Method Summary
 boolean areInterceptorBindingsEquivalent(Annotation annotation1, Annotation annotation2)
           
 boolean areQualifiersEquivalent(Annotation annotation1, Annotation annotation2)
           
<T> Bean<T>
createBean(BeanAttributes<T> attributes, Class<T> type, InjectionTargetFactory<T> factory)
           
<T,X> Bean<T>
createBean(BeanAttributes<T> attributes, Class<X> type, ProducerFactory<X> factory)
           
 BeanAttributes<?> createBeanAttributes(AnnotatedMember<?> member)
          
<T> BeanAttributes<T>
createBeanAttributes(AnnotatedType<T> type)
          
 InjectionPoint createInjectionPoint(AnnotatedField<?> field)
           
 InjectionPoint createInjectionPoint(AnnotatedParameter<?> parameter)
           
<T extends Extension>
T
getExtension(Class<T> type)
           
<X> InjectionTargetFactory<X>
getInjectionTargetFactory(AnnotatedType<X> type)
           
 int getInterceptorBindingHashCode(Annotation annotation)
           
<X> ProducerFactory<X>
getProducerFactory(AnnotatedField<? super X> field, Bean<X> bean)
           
<X> ProducerFactory<X>
getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> bean)
           
 int getQualifierHashCode(Annotation annotation)
           
protected abstract  WebBeansContext getWebBeansContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.enterprise.inject.spi.BeanManager
createAnnotatedType, createCreationalContext, createInjectionTarget, fireEvent, getBeans, getBeans, getContext, getELResolver, getInjectableReference, getInterceptorBindingDefinition, getPassivationCapableBean, getReference, getStereotypeDefinition, isInterceptorBinding, isNormalScope, isPassivatingScope, isQualifier, isScope, isStereotype, resolve, resolveDecorators, resolveInterceptors, resolveObserverMethods, validate, wrapExpressionFactory
 

Constructor Detail

AbstractBeanManager

public AbstractBeanManager()
Method Detail

getWebBeansContext

protected abstract WebBeansContext getWebBeansContext()

areInterceptorBindingsEquivalent

public boolean areInterceptorBindingsEquivalent(Annotation annotation1,
                                                Annotation annotation2)

areQualifiersEquivalent

public boolean areQualifiersEquivalent(Annotation annotation1,
                                       Annotation annotation2)

getInterceptorBindingHashCode

public int getInterceptorBindingHashCode(Annotation annotation)

getQualifierHashCode

public int getQualifierHashCode(Annotation annotation)

createBeanAttributes

public <T> BeanAttributes<T> createBeanAttributes(AnnotatedType<T> type)


createBeanAttributes

public BeanAttributes<?> createBeanAttributes(AnnotatedMember<?> member)


createInjectionPoint

public InjectionPoint createInjectionPoint(AnnotatedField<?> field)

createInjectionPoint

public InjectionPoint createInjectionPoint(AnnotatedParameter<?> parameter)

getProducerFactory

public <X> ProducerFactory<X> getProducerFactory(AnnotatedField<? super X> field,
                                                 Bean<X> bean)

getProducerFactory

public <X> ProducerFactory<X> getProducerFactory(AnnotatedMethod<? super X> method,
                                                 Bean<X> bean)

getInjectionTargetFactory

public <X> InjectionTargetFactory<X> getInjectionTargetFactory(AnnotatedType<X> type)

createBean

public <T> Bean<T> createBean(BeanAttributes<T> attributes,
                              Class<T> type,
                              InjectionTargetFactory<T> factory)

createBean

public <T,X> Bean<T> createBean(BeanAttributes<T> attributes,
                                Class<X> type,
                                ProducerFactory<X> factory)

getExtension

public <T extends Extension> T getExtension(Class<T> type)


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