public class ValidatorBean extends Object implements Bean<Validator>, PassivationCapable
Constructor and Description |
---|
ValidatorBean(ValidatorFactory factory,
Validator validator) |
Modifier and Type | Method and Description |
---|---|
Validator |
create(CreationalContext<Validator> context) |
void |
destroy(Validator instance,
CreationalContext<Validator> context) |
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() |
public ValidatorBean(ValidatorFactory factory, Validator validator)
public Set<Type> getTypes()
getTypes
in interface BeanAttributes<Validator>
public Set<Annotation> getQualifiers()
getQualifiers
in interface BeanAttributes<Validator>
public Class<? extends Annotation> getScope()
getScope
in interface BeanAttributes<Validator>
public String getName()
getName
in interface BeanAttributes<Validator>
public boolean isNullable()
isNullable
in interface Bean<Validator>
public Set<InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface Bean<Validator>
public Class<?> getBeanClass()
getBeanClass
in interface Bean<Validator>
public Set<Class<? extends Annotation>> getStereotypes()
getStereotypes
in interface BeanAttributes<Validator>
public boolean isAlternative()
isAlternative
in interface BeanAttributes<Validator>
public Validator create(CreationalContext<Validator> context)
create
in interface Contextual<Validator>
public void destroy(Validator instance, CreationalContext<Validator> context)
destroy
in interface Contextual<Validator>
public String getId()
getId
in interface PassivationCapable
Copyright © 2010–2024 The Apache Software Foundation. All rights reserved.