@Provider public class ValidatorContextResolver extends Object implements ContextResolver<GeneralValidator>
Constructor and Description |
---|
ValidatorContextResolver() |
Modifier and Type | Method and Description |
---|---|
GeneralValidator |
getContext(Class<?> type)
Get a context of type
T that is applicable to the supplied
type. |
public GeneralValidator getContext(Class<?> type)
ContextResolver
T
that is applicable to the supplied
type.getContext
in interface ContextResolver<GeneralValidator>
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.