public class GraphTransformerResolver extends Object implements TransformerResolver
TransformerResolver.RegistryAction
Constructor and Description |
---|
GraphTransformerResolver() |
Modifier and Type | Method and Description |
---|---|
Transformer |
resolve(DataType<?> source,
DataType<?> result)
Responsible for finding a transformer with the given criteria.
|
void |
transformerChange(Transformer transformer,
TransformerResolver.RegistryAction registryAction)
A callback that is called when a transformer is registered or unregistered
from the registry.
|
public Transformer resolve(DataType<?> source, DataType<?> result) throws ResolverException
TransformerResolver
resolve
in interface TransformerResolver
source
- information about the source object including the object iselfresult
- information about the result object to transform toResolverException
- Only thrown if an exception is thrown during the
search, this exception will just be a wrapperpublic void transformerChange(Transformer transformer, TransformerResolver.RegistryAction registryAction)
TransformerResolver
transformerChange
in interface TransformerResolver
transformer
- the transformer that has changedregistryAction
- whether the transformer was added or removedCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.