org.mule.tck.testmodels.mule
Class TestMuleProxy

java.lang.Object
  extended by org.mule.component.AbstractComponent
      extended by org.mule.component.AbstractJavaComponent
          extended by org.mule.component.DefaultJavaComponent
              extended by org.mule.tck.testmodels.mule.TestMuleProxy
All Implemented Interfaces:
AnnotatedObject, Component, JavaComponent, FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, MessageProcessor

public class TestMuleProxy
extends DefaultJavaComponent

Makes the underlying POJO service object available for unit testing.


Field Summary
 
Fields inherited from class org.mule.component.DefaultJavaComponent
singletonComponentLifecycleAdapter
 
Fields inherited from class org.mule.component.AbstractJavaComponent
bindings, entryPointResolverSet, lifecycleAdapterFactory, objectFactory
 
Fields inherited from class org.mule.component.AbstractComponent
flowConstruct, interceptorChain, interceptors, lifecycleManager, logger, muleContext, notificationHandler, statistics
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
TestMuleProxy(ObjectFactory objectFactory)
           
 
Method Summary
 Object getPojoService()
          Returns the underlying POJO service object for unit testing.
 
Methods inherited from class org.mule.component.DefaultJavaComponent
borrowComponentLifecycleAdaptor, doDispose, doStart, doStop, returnComponentLifecycleAdaptor
 
Methods inherited from class org.mule.component.AbstractJavaComponent
createLifecycleAdaptor, doInitialise, doInvoke, getEntryPointResolverSet, getInterfaceBindings, getLifecycleAdapterFactory, getObjectFactory, getObjectType, injectService, invokeComponentInstance, setEntryPointResolvers, setEntryPointResolverSet, setFlowConstruct, setInterfaceBindings, setLifecycleAdapterFactory, setObjectFactory
 
Methods inherited from class org.mule.component.AbstractComponent
createResultEvent, dispose, fireComponentNotification, getAnnotation, getAnnotations, getFlowConstruct, getInterceptors, getName, getStatistics, initialise, process, release, setAnnotations, setInterceptors, setMuleContext, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.api.component.Component
getStatistics
 
Methods inherited from interface org.mule.api.processor.MessageProcessor
process
 

Constructor Detail

TestMuleProxy

public TestMuleProxy(ObjectFactory objectFactory)
              throws MuleException
Throws:
MuleException
Method Detail

getPojoService

public Object getPojoService()
                      throws Exception
Returns the underlying POJO service object for unit testing.

Throws:
Exception


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