public class ValidatorFactoryBean extends Object implements Bean<ValidatorFactory>, PassivationCapable
Bean
representing a ValidatorFactory
. There is one instance of this type representing the default
validator factory and optionally another instance representing the HV validator factory in case the default provider
is not HV.Constructor and Description |
---|
ValidatorFactoryBean(BeanManager beanManager,
ValidationProviderHelper validationProviderHelper) |
Modifier and Type | Method and Description |
---|---|
ValidatorFactory |
create(CreationalContext<ValidatorFactory> ctx) |
void |
destroy(ValidatorFactory instance,
CreationalContext<ValidatorFactory> ctx) |
Class<?> |
getBeanClass() |
String |
getId() |
Set<InjectionPoint> |
getInjectionPoints() |
String |
getName() |
Set<Annotation> |
getQualifiers() |
Class<? extends Annotation> |
getScope() |
Set<Class<? extends Annotation>> |
getStereotypes() |
Set<Type> |
getTypes() |
boolean |
isAlternative() |
boolean |
isNullable() |
String |
toString() |
public ValidatorFactoryBean(BeanManager beanManager, ValidationProviderHelper validationProviderHelper)
public Class<?> getBeanClass()
getBeanClass
in interface Bean<ValidatorFactory>
public Set<InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface Bean<ValidatorFactory>
public String getName()
getName
in interface BeanAttributes<ValidatorFactory>
public Set<Annotation> getQualifiers()
getQualifiers
in interface BeanAttributes<ValidatorFactory>
public Class<? extends Annotation> getScope()
getScope
in interface BeanAttributes<ValidatorFactory>
public Set<Class<? extends Annotation>> getStereotypes()
getStereotypes
in interface BeanAttributes<ValidatorFactory>
public Set<Type> getTypes()
getTypes
in interface BeanAttributes<ValidatorFactory>
public boolean isAlternative()
isAlternative
in interface BeanAttributes<ValidatorFactory>
public boolean isNullable()
isNullable
in interface Bean<ValidatorFactory>
public ValidatorFactory create(CreationalContext<ValidatorFactory> ctx)
create
in interface Contextual<ValidatorFactory>
public void destroy(ValidatorFactory instance, CreationalContext<ValidatorFactory> ctx)
destroy
in interface Contextual<ValidatorFactory>
public String getId()
getId
in interface PassivationCapable
Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved