org.kuali.rice.ksb
Class BaseTestServer
java.lang.Object
org.kuali.rice.ksb.BaseTestServer
- All Implemented Interfaces:
- Lifecycle
- Direct Known Subclasses:
- TestClient1, TestClient2
public abstract class BaseTestServer
- extends Object
- implements Lifecycle
Abstract class to provide convenience methods for starting and stopping a
Jetty Server instance.
- Since:
- 0.9
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseTestServer
public BaseTestServer()
createServer
protected abstract org.eclipse.jetty.server.Server createServer()
getServer
public org.eclipse.jetty.server.Server getServer()
start
public void start()
throws Exception
- Specified by:
start
in interface Lifecycle
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface Lifecycle
- Throws:
Exception
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface Lifecycle
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.