org.mule.module.ibeans.config
Class MockIntegrationBeansAnnotationProcessor

java.lang.Object
  extended by org.mule.module.ibeans.config.MockIntegrationBeansAnnotationProcessor
All Implemented Interfaces:
MuleContextAware, InjectProcessor, ObjectProcessor

public class MockIntegrationBeansAnnotationProcessor
extends Object
implements InjectProcessor, MuleContextAware

Will process any fields on an object with the MockIntegrationBean annotation, inserting a Mockito Mock object. This is only used for testing.


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

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

MockIntegrationBeansAnnotationProcessor

public MockIntegrationBeansAnnotationProcessor()
Method Detail

setMuleContext

public void setMuleContext(MuleContext muleContext)
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.