org.kuali.rice.test
Class BaseTestServer
java.lang.Object
org.kuali.rice.test.BaseTestServer
- All Implemented Interfaces:
- Lifecycle
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.mortbay.jetty.Server createServer()
getServer
public org.mortbay.jetty.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 © 2004-2012 The Kuali Foundation. All Rights Reserved.