public class Validator extends Object implements org.jboss.weld.bootstrap.api.Service
| Constructor and Description |
|---|
Validator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkBeanMetadataInjectionPoint(Object bean,
javax.enterprise.inject.spi.InjectionPoint ip,
Type expectedTypeArgument) |
void |
cleanup() |
protected void |
validateBean(javax.enterprise.inject.spi.Bean<?> bean,
Collection<CommonBean<?>> specializedBeans,
BeanManagerImpl manager,
List<RuntimeException> problems) |
protected void |
validateBeanName(String name,
SetMultimap<String,javax.enterprise.inject.spi.Bean<?>> namedAccessibleBeans,
List<String> accessibleNamespaces,
BeanManagerImpl beanManager) |
void |
validateBeanNames(BeanManagerImpl beanManager) |
void |
validateBeans(Collection<? extends javax.enterprise.inject.spi.Bean<?>> beans,
BeanManagerImpl manager) |
protected void |
validateDecorator(javax.enterprise.inject.spi.Decorator<?> decorator,
Collection<CommonBean<?>> specializedBeans,
BeanManagerImpl manager) |
void |
validateDecorators(Collection<? extends javax.enterprise.inject.spi.Decorator<?>> decorators,
BeanManagerImpl manager) |
void |
validateDeployment(BeanManagerImpl manager,
BeanDeployment deployment) |
void |
validateEventMetadataInjectionPoint(javax.enterprise.inject.spi.InjectionPoint ip) |
protected void |
validateGeneralBean(javax.enterprise.inject.spi.Bean<?> bean,
BeanManagerImpl beanManager) |
void |
validateInjectionPoint(javax.enterprise.inject.spi.InjectionPoint ij,
BeanManagerImpl beanManager)
Validate an injection point
|
void |
validateInjectionPointForDefinitionErrors(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> bean,
BeanManagerImpl beanManager)
Checks for definition errors associated with a given
InjectionPoint |
void |
validateInjectionPointForDeploymentProblems(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> bean,
BeanManagerImpl beanManager)
Checks for deployment problems associated with a given
InjectionPoint |
void |
validateInjectionPointPassivationCapable(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> resolvedBean,
BeanManagerImpl beanManager) |
protected void |
validateInterceptor(javax.enterprise.inject.spi.Interceptor<?> interceptor,
BeanManagerImpl manager) |
void |
validateInterceptorDecoratorInjectionPointPassivationCapable(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> resolvedBean,
BeanManagerImpl beanManager,
javax.enterprise.inject.spi.Bean<?> bean) |
void |
validateInterceptors(Collection<? extends javax.enterprise.inject.spi.Interceptor<?>> interceptors,
BeanManagerImpl manager) |
void |
validateMetadataInjectionPoint(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> bean,
MessageCallback<DefinitionException> messageCallback) |
protected void |
validateObserverMethods(Iterable<ObserverInitializationContext<?,?>> observers,
BeanManagerImpl beanManager) |
void |
validateProducer(javax.enterprise.inject.spi.Producer<?> producer,
BeanManagerImpl beanManager) |
void |
validateProducers(Collection<javax.enterprise.inject.spi.Producer<?>> producers,
BeanManagerImpl beanManager) |
protected void |
validateRIBean(CommonBean<?> bean,
BeanManagerImpl beanManager,
Collection<CommonBean<?>> specializedBeans)
Validate an RIBean.
|
void |
validateSpecialization(BeanManagerImpl manager) |
protected void validateGeneralBean(javax.enterprise.inject.spi.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(javax.enterprise.inject.spi.InjectionPoint ij,
BeanManagerImpl beanManager)
ij - the injection point to validatebeanManager - the bean managerpublic void validateInjectionPointForDefinitionErrors(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> bean,
BeanManagerImpl beanManager)
InjectionPointpublic void validateMetadataInjectionPoint(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> bean,
MessageCallback<DefinitionException> messageCallback)
public void validateEventMetadataInjectionPoint(javax.enterprise.inject.spi.InjectionPoint ip)
public void validateInjectionPointForDeploymentProblems(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> bean,
BeanManagerImpl beanManager)
InjectionPointpublic void validateProducers(Collection<javax.enterprise.inject.spi.Producer<?>> producers, BeanManagerImpl beanManager)
public void validateProducer(javax.enterprise.inject.spi.Producer<?> producer,
BeanManagerImpl beanManager)
public void validateInjectionPointPassivationCapable(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> resolvedBean,
BeanManagerImpl beanManager)
public void validateInterceptorDecoratorInjectionPointPassivationCapable(javax.enterprise.inject.spi.InjectionPoint ij,
javax.enterprise.inject.spi.Bean<?> resolvedBean,
BeanManagerImpl beanManager,
javax.enterprise.inject.spi.Bean<?> bean)
public void validateDeployment(BeanManagerImpl manager, BeanDeployment deployment)
public void validateSpecialization(BeanManagerImpl manager)
public void validateBeans(Collection<? extends javax.enterprise.inject.spi.Bean<?>> beans, BeanManagerImpl manager)
protected void validateBean(javax.enterprise.inject.spi.Bean<?> bean,
Collection<CommonBean<?>> specializedBeans,
BeanManagerImpl manager,
List<RuntimeException> problems)
public void validateInterceptors(Collection<? extends javax.enterprise.inject.spi.Interceptor<?>> interceptors, BeanManagerImpl manager)
protected void validateInterceptor(javax.enterprise.inject.spi.Interceptor<?> interceptor,
BeanManagerImpl manager)
public void validateDecorators(Collection<? extends javax.enterprise.inject.spi.Decorator<?>> decorators, BeanManagerImpl manager)
protected void validateDecorator(javax.enterprise.inject.spi.Decorator<?> decorator,
Collection<CommonBean<?>> specializedBeans,
BeanManagerImpl manager)
public void validateBeanNames(BeanManagerImpl beanManager)
protected void validateBeanName(String name, SetMultimap<String,javax.enterprise.inject.spi.Bean<?>> namedAccessibleBeans, List<String> accessibleNamespaces, BeanManagerImpl beanManager)
protected void validateObserverMethods(Iterable<ObserverInitializationContext<?,?>> observers, BeanManagerImpl beanManager)
public static void checkBeanMetadataInjectionPoint(Object bean, javax.enterprise.inject.spi.InjectionPoint ip, Type expectedTypeArgument)
public void cleanup()
cleanup in interface org.jboss.weld.bootstrap.api.ServiceCopyright © 2017. All rights reserved.