@Provider public class HibernateValidatorContextResolver extends Object implements ContextResolver<ValidatorAdapter>
| Constructor and Description |
|---|
HibernateValidatorContextResolver() |
| Modifier and Type | Method and Description |
|---|---|
ValidatorAdapter |
getContext(Class<?> type)
Get a context of type
T that is applicable to the supplied
type. |
public ValidatorAdapter getContext(Class<?> type)
ContextResolverT that is applicable to the supplied
type.getContext in interface ContextResolver<ValidatorAdapter>type - the class of object for which a context is desirednull if a
context for the supplied type is not available from this provider.Copyright © 2013. All Rights Reserved.