org.jboss.resteasy.plugins.validation.hibernate
Class HibernateValidatorContextResolver
java.lang.Object
org.jboss.resteasy.plugins.validation.hibernate.HibernateValidatorContextResolver
- All Implemented Interfaces:
- ContextResolver<ValidatorAdapter>
@Provider
public class HibernateValidatorContextResolver
- extends Object
- implements ContextResolver<ValidatorAdapter>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateValidatorContextResolver
public HibernateValidatorContextResolver()
getContext
public ValidatorAdapter getContext(Class<?> type)
- Description copied from interface:
ContextResolver
- Get a context of type
T
that is applicable to the supplied
type.
- Specified by:
getContext
in interface ContextResolver<ValidatorAdapter>
- Parameters:
type
- the class of object for which a context is desired
- Returns:
- a context for the supplied type or
null
if a
context for the supplied type is not available from this provider.
Copyright © 2012. All Rights Reserved.