org.kuali.rice.test.lifecycles
Class JettyServerLifecycle
java.lang.Object
org.kuali.rice.test.lifecycles.JettyServerLifecycle
- All Implemented Interfaces:
- org.kuali.rice.core.api.lifecycle.Lifecycle
public class JettyServerLifecycle
- extends Object
- implements org.kuali.rice.core.api.lifecycle.Lifecycle
A lifecycle for running a jetty web server.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Field Summary |
protected org.kuali.rice.test.launch.JettyLauncher |
jettyServer
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jettyServer
protected org.kuali.rice.test.launch.JettyLauncher jettyServer
JettyServerLifecycle
public JettyServerLifecycle()
JettyServerLifecycle
public JettyServerLifecycle(int port)
JettyServerLifecycle
public JettyServerLifecycle(int port,
String contextName)
JettyServerLifecycle
public JettyServerLifecycle(int port,
String contextName,
String relativeWebappRoot)
getWebappConfig
public static org.kuali.rice.core.api.config.property.Config getWebappConfig(int port)
setTestMode
public void setTestMode(boolean t)
isTestMode
public boolean isTestMode()
getConfigMode
public JettyServerLifecycle.ConfigMode getConfigMode()
setConfigMode
public void setConfigMode(JettyServerLifecycle.ConfigMode configMode)
isAddWebappResourceLoaders
public boolean isAddWebappResourceLoaders()
setAddWebappResourceLoaders
public void setAddWebappResourceLoaders(boolean addWebappResourceLoaders)
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface org.kuali.rice.core.api.lifecycle.Lifecycle
start
public void start()
throws Exception
- Specified by:
start
in interface org.kuali.rice.core.api.lifecycle.Lifecycle
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface org.kuali.rice.core.api.lifecycle.Lifecycle
- Throws:
Exception
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.