public static interface EnhancedResolver.Hint
Implementations must be thread-safe.
EnhancedResolver#createHint(Object, String)
,
Hints.INAPPLICABLE_HINT
Modifier and Type | Method and Description |
---|---|
Object |
resolve(Object contextObject,
String name,
ResolutionContext context)
Note that the runtime class of the context object may be different
than the class used to create the hint.
|
Object resolve(Object contextObject, String name, ResolutionContext context)
If a hint is not applicable it should return null
and
the resolver chain will be used to resolve the value.
contextObject
- The current context object, may be null
name
- The name (the key or its part) is never null
context
- The resolution contextnull
Copyright © 2017. All rights reserved.