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 java.lang.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 java.lang.String NAME
           
 
Constructor Summary
MockIntegrationBeansAnnotationProcessor()
           
 
Method Summary
 java.lang.Object process(java.lang.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 java.lang.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 java.lang.Object process(java.lang.Object object)
Specified by:
process in interface ObjectProcessor


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