org.mule.config.transformer
Class AnnotatedTransformerObjectProcessor

java.lang.Object
  extended by org.mule.config.transformer.AnnotatedTransformerObjectProcessor
All Implemented Interfaces:
MuleContextAware, ObjectProcessor, PreInitProcessor

public class AnnotatedTransformerObjectProcessor
extends Object
implements PreInitProcessor, MuleContextAware

Will check all method level annotations to see if there are any Transformer annotations present. For each method annotated with Transformer a Mule transformer will be created. When the transformer is used, the method will get invoked

See Also:
Transformer

Constructor Summary
AnnotatedTransformerObjectProcessor()
           
AnnotatedTransformerObjectProcessor(MuleContext muleContext)
           
 
Method Summary
 Object process(Object object)
           
 void setMuleContext(MuleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedTransformerObjectProcessor

public AnnotatedTransformerObjectProcessor()

AnnotatedTransformerObjectProcessor

public AnnotatedTransformerObjectProcessor(MuleContext muleContext)
Method Detail

setMuleContext

public void setMuleContext(MuleContext context)
Specified by:
setMuleContext in interface MuleContextAware

process

public Object process(Object object)
Specified by:
process in interface ObjectProcessor


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.