org.kuali.rice.test.remote
Class RemoteTestHarness
java.lang.Object
org.kuali.rice.test.remote.RemoteTestHarness
public class RemoteTestHarness
- extends Object
Harness used to hold a reference to an endpoint that is published to support remote tests. Tests using
this harness should pass in a @WebService annotated interface class and an object of an implementing class
of that interface to the publishEndpointAndReturnProxy method in @Before or setUp methods used in tests.
After each test is run, stopEndPoint should be called in @After or tearDown methods in order to unpublish the
endpoint.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteTestHarness
public RemoteTestHarness()
publishEndpointAndReturnProxy
public <T> T publishEndpointAndReturnProxy(Class<T> jaxWsAnnotatedInterface,
T serviceImplementation)
stopEndpoint
public void stopEndpoint()
- Stops and makes an internal endpoint unpublished if it was previously published.
Otherwise, this method is a no-op.
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.