public class Validator extends Object implements Service
| Constructor and Description |
|---|
Validator() |
protected void validateGeneralBean(Bean<?> bean, BeanManagerImpl beanManager)
protected void validateRIBean(CommonBean<?> bean, BeanManagerImpl beanManager, Collection<CommonBean<?>> specializedBeans)
bean - the bean to validatebeanManager - the current managerspecializedBeans - the existing specialized beanspublic void validateInjectionPoint(InjectionPoint ij, BeanManagerImpl beanManager)
ij - the injection point to validatebeanManager - the bean managerpublic void validateInjectionPointForDefinitionErrors(InjectionPoint ij, Bean<?> bean, BeanManagerImpl beanManager)
InjectionPointpublic void validateMetadataInjectionPoint(InjectionPoint ij, Bean<?> bean, MessageCallback<DefinitionException> messageCallback)
public void validateEventMetadataInjectionPoint(InjectionPoint ip)
public void validateInjectionPointForDeploymentProblems(InjectionPoint ij, Bean<?> bean, BeanManagerImpl beanManager)
InjectionPointpublic void validateProducers(Collection<Producer<?>> producers, BeanManagerImpl beanManager)
public void validateProducer(Producer<?> producer, BeanManagerImpl beanManager)
public void validateInjectionPointPassivationCapable(InjectionPoint ij, Bean<?> resolvedBean, BeanManagerImpl beanManager)
public void validateInterceptorDecoratorInjectionPointPassivationCapable(InjectionPoint ij, Bean<?> resolvedBean, BeanManagerImpl beanManager, Bean<?> bean)
public void validateDeployment(BeanManagerImpl manager, BeanDeployment deployment)
public void validateSpecialization(BeanManagerImpl manager)
public void validateBeans(Collection<? extends Bean<?>> beans, BeanManagerImpl manager)
protected void validateBean(Bean<?> bean, Collection<CommonBean<?>> specializedBeans, BeanManagerImpl manager, List<RuntimeException> problems)
public void validateInterceptors(Collection<? extends Interceptor<?>> interceptors, BeanManagerImpl manager)
protected void validateInterceptor(Interceptor<?> interceptor, BeanManagerImpl manager)
public void validateDecorators(Collection<? extends Decorator<?>> decorators, BeanManagerImpl manager)
protected void validateDecorator(Decorator<?> decorator, Collection<CommonBean<?>> specializedBeans, BeanManagerImpl manager)
public void validateBeanNames(BeanManagerImpl beanManager)
protected void validateObserverMethods(Iterable<ObserverInitializationContext<?,?>> observers, BeanManagerImpl beanManager)
public static void checkBeanMetadataInjectionPoint(Object bean, InjectionPoint ip, Type expectedTypeArgument)
Copyright © 2016. All Rights Reserved.