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:
org.mule.api.component.Component, org.mule.api.component.JavaComponent, org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, org.mule.api.lifecycle.Lifecycle, org.mule.api.lifecycle.Startable, org.mule.api.lifecycle.Stoppable

public class TestMuleProxy
extends org.mule.component.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
entryPointResolverSet, lifecycleAdapterFactory, nestedRouter, objectFactory
 
Fields inherited from class org.mule.component.AbstractComponent
disposed, disposing, initialised, logger, notificationHandler, service, started, statistics, stopping
 
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
 
Constructor Summary
TestMuleProxy(org.mule.api.object.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, doOnCall, getEntryPointResolverSet, getLifecycleAdapterFactory, getNestedRouter, getObjectFactory, getObjectType, invokeComponentInstance, setEntryPointResolvers, setEntryPointResolverSet, setLifecycleAdapterFactory, setNestedRouter, setObjectFactory
 
Methods inherited from class org.mule.component.AbstractComponent
checkDisposed, dispose, fireComponentNotification, getService, getStatistics, initialise, onCall, release, setService, 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
getService, getStatistics, onCall, setService
 
Methods inherited from interface org.mule.api.lifecycle.Initialisable
initialise
 
Methods inherited from interface org.mule.api.lifecycle.Startable
start
 
Methods inherited from interface org.mule.api.lifecycle.Stoppable
stop
 
Methods inherited from interface org.mule.api.lifecycle.Disposable
dispose
 

Constructor Detail

TestMuleProxy

public TestMuleProxy(org.mule.api.object.ObjectFactory objectFactory)
              throws org.mule.api.MuleException
Throws:
org.mule.api.MuleException
Method Detail

getPojoService

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

Throws:
Exception


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.