public interface TransformerResolver
registry-bootstrap.properties
.Modifier and Type | Interface and Description |
---|---|
static class |
TransformerResolver.RegistryAction
Possible registry actions that occur that will trigger an event fired via
transformerChange(Transformer, RegistryAction) method. |
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.
|
Transformer resolve(DataType<?> source, DataType<?> result) throws ResolverException
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 wrappervoid transformerChange(Transformer transformer, TransformerResolver.RegistryAction registryAction)
transformer
- the transformer that has changedregistryAction
- whether the transformer was added or removedCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.