org.mule.transformer.graph
Class GraphTransformerResolver
java.lang.Object
org.mule.transformer.graph.GraphTransformerResolver
- All Implemented Interfaces:
- TransformerResolver
public class GraphTransformerResolver
- extends Object
- implements TransformerResolver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphTransformerResolver
public GraphTransformerResolver()
resolve
public Transformer resolve(DataType<?> source,
DataType<?> result)
throws ResolverException
- Description copied from interface:
TransformerResolver
- Responsible for finding a transformer with the given criteria. Note that if a
transformer is not found null should be return, an exception must NOT be
thrown.
- Specified by:
resolve
in interface TransformerResolver
- Parameters:
source
- information about the source object including the object iselfresult
- information about the result object to transform to
- Returns:
- a transformer from the registry that matches the criteria or null if a
transformer was not found
- Throws:
ResolverException
- Only thrown if an exception is thrown during the
search, this exception will just be a wrapper
transformerChange
public void transformerChange(Transformer transformer,
TransformerResolver.RegistryAction registryAction)
- Description copied from interface:
TransformerResolver
- A callback that is called when a transformer is registered or unregistered
from the registry. This is used in situations where the resolver caches
transformers and the cache needs to be updated.
- Specified by:
transformerChange
in interface TransformerResolver
- Parameters:
transformer
- the transformer that has changedregistryAction
- whether the transformer was added or removed
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.