Class NoopBeanManager
- java.lang.Object
-
- org.apache.tapestry5.internal.jpa.NoopBeanManager
-
- All Implemented Interfaces:
BeanManager
- Direct Known Subclasses:
TapestryCDIBeanManagerForJPAEntityListeners
public class NoopBeanManager extends Object implements BeanManager
-
-
Constructor Summary
Constructors Constructor Description NoopBeanManager()
-
Method Summary
-
-
-
Constructor Detail
-
NoopBeanManager
public NoopBeanManager()
-
-
Method Detail
-
getReference
public Object getReference(Bean<?> bean, Type beanType, CreationalContext<?> ctx)
- Specified by:
getReference
in interfaceBeanManager
-
getInjectableReference
public Object getInjectableReference(InjectionPoint ij, CreationalContext<?> ctx)
- Specified by:
getInjectableReference
in interfaceBeanManager
-
createCreationalContext
public <T> CreationalContext<T> createCreationalContext(Contextual<T> contextual)
- Specified by:
createCreationalContext
in interfaceBeanManager
-
getBeans
public Set<Bean<?>> getBeans(Type beanType, Annotation... qualifiers)
- Specified by:
getBeans
in interfaceBeanManager
-
getPassivationCapableBean
public Bean<?> getPassivationCapableBean(String id)
- Specified by:
getPassivationCapableBean
in interfaceBeanManager
-
resolve
public <X> Bean<? extends X> resolve(Set<Bean<? extends X>> beans)
- Specified by:
resolve
in interfaceBeanManager
-
validate
public void validate(InjectionPoint injectionPoint)
- Specified by:
validate
in interfaceBeanManager
-
fireEvent
public void fireEvent(Object event, Annotation... qualifiers)
- Specified by:
fireEvent
in interfaceBeanManager
-
resolveObserverMethods
public <T> Set<ObserverMethod<? super T>> resolveObserverMethods(T event, Annotation... qualifiers)
- Specified by:
resolveObserverMethods
in interfaceBeanManager
-
resolveDecorators
public List<Decorator<?>> resolveDecorators(Set<Type> types, Annotation... qualifiers)
- Specified by:
resolveDecorators
in interfaceBeanManager
-
resolveInterceptors
public List<Interceptor<?>> resolveInterceptors(InterceptionType type, Annotation... interceptorBindings)
- Specified by:
resolveInterceptors
in interfaceBeanManager
-
isScope
public boolean isScope(Class<? extends Annotation> annotationType)
- Specified by:
isScope
in interfaceBeanManager
-
isNormalScope
public boolean isNormalScope(Class<? extends Annotation> annotationType)
- Specified by:
isNormalScope
in interfaceBeanManager
-
isPassivatingScope
public boolean isPassivatingScope(Class<? extends Annotation> annotationType)
- Specified by:
isPassivatingScope
in interfaceBeanManager
-
isQualifier
public boolean isQualifier(Class<? extends Annotation> annotationType)
- Specified by:
isQualifier
in interfaceBeanManager
-
isInterceptorBinding
public boolean isInterceptorBinding(Class<? extends Annotation> annotationType)
- Specified by:
isInterceptorBinding
in interfaceBeanManager
-
isStereotype
public boolean isStereotype(Class<? extends Annotation> annotationType)
- Specified by:
isStereotype
in interfaceBeanManager
-
getInterceptorBindingDefinition
public Set<Annotation> getInterceptorBindingDefinition(Class<? extends Annotation> bindingType)
- Specified by:
getInterceptorBindingDefinition
in interfaceBeanManager
-
getStereotypeDefinition
public Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype)
- Specified by:
getStereotypeDefinition
in interfaceBeanManager
-
areQualifiersEquivalent
public boolean areQualifiersEquivalent(Annotation qualifier1, Annotation qualifier2)
- Specified by:
areQualifiersEquivalent
in interfaceBeanManager
-
areInterceptorBindingsEquivalent
public boolean areInterceptorBindingsEquivalent(Annotation interceptorBinding1, Annotation interceptorBinding2)
- Specified by:
areInterceptorBindingsEquivalent
in interfaceBeanManager
-
getQualifierHashCode
public int getQualifierHashCode(Annotation qualifier)
- Specified by:
getQualifierHashCode
in interfaceBeanManager
-
getInterceptorBindingHashCode
public int getInterceptorBindingHashCode(Annotation interceptorBinding)
- Specified by:
getInterceptorBindingHashCode
in interfaceBeanManager
-
getContext
public Context getContext(Class<? extends Annotation> scopeType)
- Specified by:
getContext
in interfaceBeanManager
-
getELResolver
public ELResolver getELResolver()
- Specified by:
getELResolver
in interfaceBeanManager
-
wrapExpressionFactory
public ExpressionFactory wrapExpressionFactory(ExpressionFactory expressionFactory)
- Specified by:
wrapExpressionFactory
in interfaceBeanManager
-
createAnnotatedType
public <T> AnnotatedType<T> createAnnotatedType(Class<T> type)
- Specified by:
createAnnotatedType
in interfaceBeanManager
-
createInjectionTarget
public <T> InjectionTarget<T> createInjectionTarget(AnnotatedType<T> type)
- Specified by:
createInjectionTarget
in interfaceBeanManager
-
getInjectionTargetFactory
public <T> InjectionTargetFactory<T> getInjectionTargetFactory(AnnotatedType<T> annotatedType)
- Specified by:
getInjectionTargetFactory
in interfaceBeanManager
-
getProducerFactory
public <X> ProducerFactory<X> getProducerFactory(AnnotatedField<? super X> field, Bean<X> declaringBean)
- Specified by:
getProducerFactory
in interfaceBeanManager
-
getProducerFactory
public <X> ProducerFactory<X> getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean)
- Specified by:
getProducerFactory
in interfaceBeanManager
-
createBeanAttributes
public <T> BeanAttributes<T> createBeanAttributes(AnnotatedType<T> type)
- Specified by:
createBeanAttributes
in interfaceBeanManager
-
createBeanAttributes
public BeanAttributes<?> createBeanAttributes(AnnotatedMember<?> type)
- Specified by:
createBeanAttributes
in interfaceBeanManager
-
createBean
public <T> Bean<T> createBean(BeanAttributes<T> attributes, Class<T> beanClass, InjectionTargetFactory<T> injectionTargetFactory)
- Specified by:
createBean
in interfaceBeanManager
-
createBean
public <T,X> Bean<T> createBean(BeanAttributes<T> attributes, Class<X> beanClass, ProducerFactory<X> producerFactory)
- Specified by:
createBean
in interfaceBeanManager
-
createInjectionPoint
public InjectionPoint createInjectionPoint(AnnotatedField<?> field)
- Specified by:
createInjectionPoint
in interfaceBeanManager
-
createInjectionPoint
public InjectionPoint createInjectionPoint(AnnotatedParameter<?> parameter)
- Specified by:
createInjectionPoint
in interfaceBeanManager
-
getExtension
public <T extends Extension> T getExtension(Class<T> extensionClass)
- Specified by:
getExtension
in interfaceBeanManager
-
-