org.mule.tck.testmodels.services
Class TestServiceComponent
java.lang.Object
org.mule.tck.functional.FunctionalTestComponent
org.mule.tck.testmodels.services.TestServiceComponent
- All Implemented Interfaces:
- EchoService, MuleContextAware, Callable, Disposable, EventListener, Initialisable, Receiveable, DateService, PeopleService
public class TestServiceComponent
- extends FunctionalTestComponent
- implements EchoService, DateService, PeopleService, Disposable
TestServiceComponent
is a test WebServices service.
Methods inherited from class org.mule.tck.functional.FunctionalTestComponent |
append, getAppendString, getEventCallback, getExceptionToThrow, getLastReceivedMessage, getReceivedMessage, getReceivedMessagesCount, getReturnData, getWaitTime, initialise, isDoInboundTransform, isEnableMessageHistory, isEnableNotifications, isLogMessageDetails, isThrowException, onCall, onReceive, process, setAppendString, setDoInboundTransform, setEnableMessageHistory, setEnableNotifications, setEventCallback, setExceptionToThrow, setLogMessageDetails, setMuleContext, setReturnData, setThrowException, setWaitTime, throwException |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestServiceComponent
public TestServiceComponent()
echo
public java.lang.String echo(java.lang.String echo)
- Specified by:
echo
in interface EchoService
getDate
public java.lang.String getDate()
- Specified by:
getDate
in interface DateService
getPerson
public Person getPerson(java.lang.String firstName)
- Specified by:
getPerson
in interface PeopleService
getPeople
public Person[] getPeople()
- Specified by:
getPeople
in interface PeopleService
addPerson
public void addPerson(Person person)
throws java.lang.Exception
- Specified by:
addPerson
in interface PeopleService
- Throws:
java.lang.Exception
addPerson
public Person addPerson(java.lang.String firstname,
java.lang.String surname)
throws java.lang.Exception
- Specified by:
addPerson
in interface PeopleService
- Throws:
java.lang.Exception
dispose
public void dispose()
- A lifecycle method where implementor should free up any resources. If an
exception is thrown it should just be logged and processing should continue.
This method should not throw RuntimeExceptions.
- Specified by:
dispose
in interface Disposable
- Overrides:
dispose
in class FunctionalTestComponent
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.