Class NoopBeanManager
- java.lang.Object
-
- org.apache.tapestry5.internal.jpa.NoopBeanManager
-
- All Implemented Interfaces:
BeanManager
- Direct Known Subclasses:
TapestryCDIBeanManagerForJPAEntityListeners
public class NoopBeanManager extends java.lang.Object implements BeanManager
-
-
Constructor Summary
Constructors Constructor Description NoopBeanManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareInterceptorBindingsEquivalent(java.lang.annotation.Annotation interceptorBinding1, java.lang.annotation.Annotation interceptorBinding2)booleanareQualifiersEquivalent(java.lang.annotation.Annotation qualifier1, java.lang.annotation.Annotation qualifier2)<T> AnnotatedType<T>createAnnotatedType(java.lang.Class<T> type)<T> Bean<T>createBean(BeanAttributes<T> attributes, java.lang.Class<T> beanClass, InjectionTargetFactory<T> injectionTargetFactory)<T,X>
Bean<T>createBean(BeanAttributes<T> attributes, java.lang.Class<X> beanClass, ProducerFactory<X> producerFactory)BeanAttributes<?>createBeanAttributes(AnnotatedMember<?> type)<T> BeanAttributes<T>createBeanAttributes(AnnotatedType<T> type)<T> CreationalContext<T>createCreationalContext(Contextual<T> contextual)InjectionPointcreateInjectionPoint(AnnotatedField<?> field)InjectionPointcreateInjectionPoint(AnnotatedParameter<?> parameter)<T> InjectionTarget<T>createInjectionTarget(AnnotatedType<T> type)voidfireEvent(java.lang.Object event, java.lang.annotation.Annotation... qualifiers)java.util.Set<Bean<?>>getBeans(java.lang.reflect.Type beanType, java.lang.annotation.Annotation... qualifiers)java.util.Set<Bean<?>>getBeans(java.lang.String name)ContextgetContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)ELResolvergetELResolver()<T extends Extension>
TgetExtension(java.lang.Class<T> extensionClass)java.lang.ObjectgetInjectableReference(InjectionPoint ij, CreationalContext<?> ctx)<T> InjectionTargetFactory<T>getInjectionTargetFactory(AnnotatedType<T> annotatedType)java.util.Set<java.lang.annotation.Annotation>getInterceptorBindingDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)intgetInterceptorBindingHashCode(java.lang.annotation.Annotation interceptorBinding)Bean<?>getPassivationCapableBean(java.lang.String id)<X> ProducerFactory<X>getProducerFactory(AnnotatedField<? super X> field, Bean<X> declaringBean)<X> ProducerFactory<X>getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean)intgetQualifierHashCode(java.lang.annotation.Annotation qualifier)java.lang.ObjectgetReference(Bean<?> bean, java.lang.reflect.Type beanType, CreationalContext<?> ctx)java.util.Set<java.lang.annotation.Annotation>getStereotypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)booleanisInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)booleanisNormalScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)booleanisPassivatingScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)booleanisQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)booleanisScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)booleanisStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)<X> Bean<? extends X>resolve(java.util.Set<Bean<? extends X>> beans)java.util.List<Decorator<?>>resolveDecorators(java.util.Set<java.lang.reflect.Type> types, java.lang.annotation.Annotation... qualifiers)java.util.List<Interceptor<?>>resolveInterceptors(InterceptionType type, java.lang.annotation.Annotation... interceptorBindings)<T> java.util.Set<ObserverMethod<? super T>>resolveObserverMethods(T event, java.lang.annotation.Annotation... qualifiers)voidvalidate(InjectionPoint injectionPoint)ExpressionFactorywrapExpressionFactory(ExpressionFactory expressionFactory)
-
-
-
Constructor Detail
-
NoopBeanManager
public NoopBeanManager()
-
-
Method Detail
-
getReference
public java.lang.Object getReference(Bean<?> bean, java.lang.reflect.Type beanType, CreationalContext<?> ctx)
- Specified by:
getReferencein interfaceBeanManager
-
getInjectableReference
public java.lang.Object getInjectableReference(InjectionPoint ij, CreationalContext<?> ctx)
- Specified by:
getInjectableReferencein interfaceBeanManager
-
createCreationalContext
public <T> CreationalContext<T> createCreationalContext(Contextual<T> contextual)
- Specified by:
createCreationalContextin interfaceBeanManager
-
getBeans
public java.util.Set<Bean<?>> getBeans(java.lang.reflect.Type beanType, java.lang.annotation.Annotation... qualifiers)
- Specified by:
getBeansin interfaceBeanManager
-
getBeans
public java.util.Set<Bean<?>> getBeans(java.lang.String name)
- Specified by:
getBeansin interfaceBeanManager
-
getPassivationCapableBean
public Bean<?> getPassivationCapableBean(java.lang.String id)
- Specified by:
getPassivationCapableBeanin interfaceBeanManager
-
resolve
public <X> Bean<? extends X> resolve(java.util.Set<Bean<? extends X>> beans)
- Specified by:
resolvein interfaceBeanManager
-
validate
public void validate(InjectionPoint injectionPoint)
- Specified by:
validatein interfaceBeanManager
-
fireEvent
public void fireEvent(java.lang.Object event, java.lang.annotation.Annotation... qualifiers)
- Specified by:
fireEventin interfaceBeanManager
-
resolveObserverMethods
public <T> java.util.Set<ObserverMethod<? super T>> resolveObserverMethods(T event, java.lang.annotation.Annotation... qualifiers)
- Specified by:
resolveObserverMethodsin interfaceBeanManager
-
resolveDecorators
public java.util.List<Decorator<?>> resolveDecorators(java.util.Set<java.lang.reflect.Type> types, java.lang.annotation.Annotation... qualifiers)
- Specified by:
resolveDecoratorsin interfaceBeanManager
-
resolveInterceptors
public java.util.List<Interceptor<?>> resolveInterceptors(InterceptionType type, java.lang.annotation.Annotation... interceptorBindings)
- Specified by:
resolveInterceptorsin interfaceBeanManager
-
isScope
public boolean isScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
- Specified by:
isScopein interfaceBeanManager
-
isNormalScope
public boolean isNormalScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
- Specified by:
isNormalScopein interfaceBeanManager
-
isPassivatingScope
public boolean isPassivatingScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
- Specified by:
isPassivatingScopein interfaceBeanManager
-
isQualifier
public boolean isQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
- Specified by:
isQualifierin interfaceBeanManager
-
isInterceptorBinding
public boolean isInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
- Specified by:
isInterceptorBindingin interfaceBeanManager
-
isStereotype
public boolean isStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
- Specified by:
isStereotypein interfaceBeanManager
-
getInterceptorBindingDefinition
public java.util.Set<java.lang.annotation.Annotation> getInterceptorBindingDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)
- Specified by:
getInterceptorBindingDefinitionin interfaceBeanManager
-
getStereotypeDefinition
public java.util.Set<java.lang.annotation.Annotation> getStereotypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)
- Specified by:
getStereotypeDefinitionin interfaceBeanManager
-
areQualifiersEquivalent
public boolean areQualifiersEquivalent(java.lang.annotation.Annotation qualifier1, java.lang.annotation.Annotation qualifier2)
- Specified by:
areQualifiersEquivalentin interfaceBeanManager
-
areInterceptorBindingsEquivalent
public boolean areInterceptorBindingsEquivalent(java.lang.annotation.Annotation interceptorBinding1, java.lang.annotation.Annotation interceptorBinding2)
- Specified by:
areInterceptorBindingsEquivalentin interfaceBeanManager
-
getQualifierHashCode
public int getQualifierHashCode(java.lang.annotation.Annotation qualifier)
- Specified by:
getQualifierHashCodein interfaceBeanManager
-
getInterceptorBindingHashCode
public int getInterceptorBindingHashCode(java.lang.annotation.Annotation interceptorBinding)
- Specified by:
getInterceptorBindingHashCodein interfaceBeanManager
-
getContext
public Context getContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
- Specified by:
getContextin interfaceBeanManager
-
getELResolver
public ELResolver getELResolver()
- Specified by:
getELResolverin interfaceBeanManager
-
wrapExpressionFactory
public ExpressionFactory wrapExpressionFactory(ExpressionFactory expressionFactory)
- Specified by:
wrapExpressionFactoryin interfaceBeanManager
-
createAnnotatedType
public <T> AnnotatedType<T> createAnnotatedType(java.lang.Class<T> type)
- Specified by:
createAnnotatedTypein interfaceBeanManager
-
createInjectionTarget
public <T> InjectionTarget<T> createInjectionTarget(AnnotatedType<T> type)
- Specified by:
createInjectionTargetin interfaceBeanManager
-
getInjectionTargetFactory
public <T> InjectionTargetFactory<T> getInjectionTargetFactory(AnnotatedType<T> annotatedType)
- Specified by:
getInjectionTargetFactoryin interfaceBeanManager
-
getProducerFactory
public <X> ProducerFactory<X> getProducerFactory(AnnotatedField<? super X> field, Bean<X> declaringBean)
- Specified by:
getProducerFactoryin interfaceBeanManager
-
getProducerFactory
public <X> ProducerFactory<X> getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean)
- Specified by:
getProducerFactoryin interfaceBeanManager
-
createBeanAttributes
public <T> BeanAttributes<T> createBeanAttributes(AnnotatedType<T> type)
- Specified by:
createBeanAttributesin interfaceBeanManager
-
createBeanAttributes
public BeanAttributes<?> createBeanAttributes(AnnotatedMember<?> type)
- Specified by:
createBeanAttributesin interfaceBeanManager
-
createBean
public <T> Bean<T> createBean(BeanAttributes<T> attributes, java.lang.Class<T> beanClass, InjectionTargetFactory<T> injectionTargetFactory)
- Specified by:
createBeanin interfaceBeanManager
-
createBean
public <T,X> Bean<T> createBean(BeanAttributes<T> attributes, java.lang.Class<X> beanClass, ProducerFactory<X> producerFactory)
- Specified by:
createBeanin interfaceBeanManager
-
createInjectionPoint
public InjectionPoint createInjectionPoint(AnnotatedField<?> field)
- Specified by:
createInjectionPointin interfaceBeanManager
-
createInjectionPoint
public InjectionPoint createInjectionPoint(AnnotatedParameter<?> parameter)
- Specified by:
createInjectionPointin interfaceBeanManager
-
getExtension
public <T extends Extension> T getExtension(java.lang.Class<T> extensionClass)
- Specified by:
getExtensionin interfaceBeanManager
-
-