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)
InjectionPoint
public void validateMetadataInjectionPoint(InjectionPoint ij, Bean<?> bean, ValidatorMessage message)
public void validateEventMetadataInjectionPoint(InjectionPoint ip)
public void validateInjectionPointForDeploymentProblems(InjectionPoint ij, Bean<?> bean, BeanManagerImpl beanManager)
InjectionPoint
public 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 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 © 2013 Seam Framework. All Rights Reserved.