public static class ResourceProcessorInvoker.ResourcesProcessorWrapper extends Object
ProcessorWrapper
for ResourceProcessor
s targeting Resources
. Will peek into the content of
the Resources
for type matching decisions if needed.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ResourcesProcessorWrapper(ResourceProcessor<?> processor)
Creates a new
ResourceProcessorInvoker.ResourcesProcessorWrapper for the given ResourceProcessor . |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(ResolvableType type,
Object value)
Returns whether the underlying processor supports the given
ResolvableType . |
public ResourcesProcessorWrapper(ResourceProcessor<?> processor)
ResourceProcessorInvoker.ResourcesProcessorWrapper
for the given ResourceProcessor
.processor
- must not be null.public boolean supports(ResolvableType type, Object value)
ResolvableType
. It might also additionally
inspect the object that would eventually be handed to the processor.type
- the type of object to be post processed, will never be null.value
- the object that would be passed into the processor eventually, can be null.Copyright © 2012-2016–2018 Pivotal, Inc.. All rights reserved.