Package org.jboss.weld.bootstrap
Class ConcurrentValidator
- java.lang.Object
-
- org.jboss.weld.bootstrap.Validator
-
- org.jboss.weld.bootstrap.ConcurrentValidator
-
- All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service
public class ConcurrentValidator extends Validator
Processes validation of beans, decorators and interceptors in parallel.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description ConcurrentValidator(Set<PlugableValidator> plugableValidators, org.jboss.weld.manager.api.ExecutorServices executor, ConcurrentMap<Bean<?>,Boolean> resolvedInjectionPoints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validateBeanNames(BeanManagerImpl beanManager)
void
validateBeans(Collection<? extends Bean<?>> beans, BeanManagerImpl manager)
void
validateDecorators(Collection<? extends Decorator<?>> decorators, BeanManagerImpl manager)
void
validateInterceptors(Collection<? extends Interceptor<?>> interceptors, BeanManagerImpl manager)
protected void
validateObserverMethods(Iterable<ObserverInitializationContext<?,?>> observers, BeanManagerImpl beanManager)
void
validateProducers(Collection<Producer<?>> producers, BeanManagerImpl beanManager)
-
Methods inherited from class org.jboss.weld.bootstrap.Validator
checkBeanMetadataInjectionPoint, cleanup, clearResolved, isResolved, validateBean, validateBeanName, validateDecorator, validateDeployment, validateEventMetadataInjectionPoint, validateGeneralBean, validateInjectionPoint, validateInjectionPointForDefinitionErrors, validateInjectionPointForDeploymentProblems, validateInjectionPointPassivationCapable, validateInterceptor, validateInterceptorDecoratorInjectionPointPassivationCapable, validateMetadataInjectionPoint, validateProducer, validateRIBean, validateSpecialization
-
-
-
-
Constructor Detail
-
ConcurrentValidator
public ConcurrentValidator(Set<PlugableValidator> plugableValidators, org.jboss.weld.manager.api.ExecutorServices executor, ConcurrentMap<Bean<?>,Boolean> resolvedInjectionPoints)
-
-
Method Detail
-
validateBeans
public void validateBeans(Collection<? extends Bean<?>> beans, BeanManagerImpl manager)
- Overrides:
validateBeans
in classValidator
-
validateInterceptors
public void validateInterceptors(Collection<? extends Interceptor<?>> interceptors, BeanManagerImpl manager)
- Overrides:
validateInterceptors
in classValidator
-
validateDecorators
public void validateDecorators(Collection<? extends Decorator<?>> decorators, BeanManagerImpl manager)
- Overrides:
validateDecorators
in classValidator
-
validateObserverMethods
protected void validateObserverMethods(Iterable<ObserverInitializationContext<?,?>> observers, BeanManagerImpl beanManager)
- Overrides:
validateObserverMethods
in classValidator
-
validateBeanNames
public void validateBeanNames(BeanManagerImpl beanManager)
- Overrides:
validateBeanNames
in classValidator
-
validateProducers
public void validateProducers(Collection<Producer<?>> producers, BeanManagerImpl beanManager)
- Overrides:
validateProducers
in classValidator
-
-