public class NoopBeanManager extends Object implements BeanManager
Constructor and Description |
---|
NoopBeanManager() |
public NoopBeanManager()
public Object getReference(Bean<?> bean, Type beanType, CreationalContext<?> ctx)
getReference
in interface BeanManager
public Object getInjectableReference(InjectionPoint ij, CreationalContext<?> ctx)
getInjectableReference
in interface BeanManager
public <T> CreationalContext<T> createCreationalContext(Contextual<T> contextual)
createCreationalContext
in interface BeanManager
public Set<Bean<?>> getBeans(Type beanType, Annotation... qualifiers)
getBeans
in interface BeanManager
public Bean<?> getPassivationCapableBean(String id)
getPassivationCapableBean
in interface BeanManager
public <X> Bean<? extends X> resolve(Set<Bean<? extends X>> beans)
resolve
in interface BeanManager
public void validate(InjectionPoint injectionPoint)
validate
in interface BeanManager
public void fireEvent(Object event, Annotation... qualifiers)
fireEvent
in interface BeanManager
public <T> Set<ObserverMethod<? super T>> resolveObserverMethods(T event, Annotation... qualifiers)
resolveObserverMethods
in interface BeanManager
public List<Decorator<?>> resolveDecorators(Set<Type> types, Annotation... qualifiers)
resolveDecorators
in interface BeanManager
public List<Interceptor<?>> resolveInterceptors(InterceptionType type, Annotation... interceptorBindings)
resolveInterceptors
in interface BeanManager
public boolean isScope(Class<? extends Annotation> annotationType)
isScope
in interface BeanManager
public boolean isNormalScope(Class<? extends Annotation> annotationType)
isNormalScope
in interface BeanManager
public boolean isPassivatingScope(Class<? extends Annotation> annotationType)
isPassivatingScope
in interface BeanManager
public boolean isQualifier(Class<? extends Annotation> annotationType)
isQualifier
in interface BeanManager
public boolean isInterceptorBinding(Class<? extends Annotation> annotationType)
isInterceptorBinding
in interface BeanManager
public boolean isStereotype(Class<? extends Annotation> annotationType)
isStereotype
in interface BeanManager
public Set<Annotation> getInterceptorBindingDefinition(Class<? extends Annotation> bindingType)
getInterceptorBindingDefinition
in interface BeanManager
public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype)
getStereotypeDefinition
in interface BeanManager
public boolean areQualifiersEquivalent(Annotation qualifier1, Annotation qualifier2)
areQualifiersEquivalent
in interface BeanManager
public boolean areInterceptorBindingsEquivalent(Annotation interceptorBinding1, Annotation interceptorBinding2)
areInterceptorBindingsEquivalent
in interface BeanManager
public int getQualifierHashCode(Annotation qualifier)
getQualifierHashCode
in interface BeanManager
public int getInterceptorBindingHashCode(Annotation interceptorBinding)
getInterceptorBindingHashCode
in interface BeanManager
public Context getContext(Class<? extends Annotation> scopeType)
getContext
in interface BeanManager
public ELResolver getELResolver()
getELResolver
in interface BeanManager
public ExpressionFactory wrapExpressionFactory(ExpressionFactory expressionFactory)
wrapExpressionFactory
in interface BeanManager
public <T> AnnotatedType<T> createAnnotatedType(Class<T> type)
createAnnotatedType
in interface BeanManager
public <T> InjectionTarget<T> createInjectionTarget(AnnotatedType<T> type)
createInjectionTarget
in interface BeanManager
public <T> InjectionTargetFactory<T> getInjectionTargetFactory(AnnotatedType<T> annotatedType)
getInjectionTargetFactory
in interface BeanManager
public <X> ProducerFactory<X> getProducerFactory(AnnotatedField<? super X> field, Bean<X> declaringBean)
getProducerFactory
in interface BeanManager
public <X> ProducerFactory<X> getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean)
getProducerFactory
in interface BeanManager
public <T> BeanAttributes<T> createBeanAttributes(AnnotatedType<T> type)
createBeanAttributes
in interface BeanManager
public BeanAttributes<?> createBeanAttributes(AnnotatedMember<?> type)
createBeanAttributes
in interface BeanManager
public <T> Bean<T> createBean(BeanAttributes<T> attributes, Class<T> beanClass, InjectionTargetFactory<T> injectionTargetFactory)
createBean
in interface BeanManager
public <T,X> Bean<T> createBean(BeanAttributes<T> attributes, Class<X> beanClass, ProducerFactory<X> producerFactory)
createBean
in interface BeanManager
public InjectionPoint createInjectionPoint(AnnotatedField<?> field)
createInjectionPoint
in interface BeanManager
public InjectionPoint createInjectionPoint(AnnotatedParameter<?> parameter)
createInjectionPoint
in interface BeanManager
public <T extends Extension> T getExtension(Class<T> extensionClass)
getExtension
in interface BeanManager
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.