public class Validator extends Object implements Service
| Constructor and Description |
|---|
Validator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkBeanMetadataInjectionPoint(Object bean,
InjectionPoint ip,
Type expectedTypeArgument) |
void |
cleanup()
Called by Weld when it is shutting down, allowing the service to
perform any cleanup needed.
|
protected void |
validateBean(Bean<?> bean,
Collection<RIBean<?>> specializedBeans,
BeanManagerImpl manager,
List<RuntimeException> problems) |
void |
validateBeanNames(BeanManagerImpl beanManager) |
void |
validateBeans(Collection<? extends Bean<?>> beans,
BeanManagerImpl manager) |
protected void |
validateDecorator(Decorator<?> decorator,
Collection<RIBean<?>> specializedBeans,
BeanManagerImpl manager) |
void |
validateDecorators(Collection<? extends Decorator<?>> decorators,
BeanManagerImpl manager) |
void |
validateDeployment(BeanManagerImpl manager,
BeanDeployerEnvironment environment) |
protected void |
validateGeneralBean(Bean<?> bean,
BeanManagerImpl beanManager) |
void |
validateInjectionPoint(InjectionPoint ij,
BeanManagerImpl beanManager)
Validate an injection point
|
void |
validateInjectionPointForDefinitionErrors(InjectionPoint ij,
Bean<?> bean,
BeanManagerImpl beanManager)
Checks for definition errors associated with a given
InjectionPoint |
void |
validateInjectionPointForDeploymentProblems(InjectionPoint ij,
Bean<?> bean,
BeanManagerImpl beanManager)
Checks for deployment problems associated with a given
InjectionPoint |
void |
validateInjectionPointPassivationCapable(InjectionPoint ij,
Bean<?> resolvedBean,
BeanManagerImpl beanManager) |
protected void |
validateInterceptor(Interceptor<?> interceptor,
BeanManagerImpl manager) |
void |
validateInterceptors(Collection<? extends Interceptor<?>> interceptors,
BeanManagerImpl manager) |
protected void |
validateObserverMethods(Iterable<ObserverInitializationContext<?,?>> observers,
BeanManagerImpl beanManager) |
void |
validateProducer(Producer<?> producer,
BeanManagerImpl beanManager) |
void |
validateProducers(Collection<Producer<?>> producers,
BeanManagerImpl beanManager) |
protected void |
validateRIBean(RIBean<?> bean,
BeanManagerImpl beanManager,
Collection<RIBean<?>> specializedBeans)
Validate an RIBean.
|
void |
validateSpecialization(BeanManagerImpl manager) |
protected void validateGeneralBean(Bean<?> bean, BeanManagerImpl beanManager)
protected void validateRIBean(RIBean<?> bean, BeanManagerImpl beanManager, Collection<RIBean<?>> 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 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 validateDeployment(BeanManagerImpl manager, BeanDeployerEnvironment environment)
public void validateSpecialization(BeanManagerImpl manager)
public void validateBeans(Collection<? extends Bean<?>> beans, BeanManagerImpl manager)
protected void validateBean(Bean<?> bean, Collection<RIBean<?>> 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<RIBean<?>> 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 © 2012 Seam Framework. All Rights Reserved.