public class JettyServerLifecycle extends Object implements org.kuali.rice.core.api.lifecycle.Lifecycle
Modifier and Type | Class and Description |
---|---|
static class |
JettyServerLifecycle.ConfigMode
Enum for dealing with the webapp's Config
|
Modifier and Type | Field and Description |
---|---|
protected JettyLauncher |
jettyServer |
Constructor and Description |
---|
JettyServerLifecycle() |
JettyServerLifecycle(int port) |
JettyServerLifecycle(int port,
String contextName) |
JettyServerLifecycle(int port,
String contextName,
String relativeWebappRoot) |
Modifier and Type | Method and Description |
---|---|
JettyServerLifecycle.ConfigMode |
getConfigMode() |
static org.kuali.rice.core.api.config.property.Config |
getWebappConfig(int port) |
boolean |
isAddWebappResourceLoaders() |
boolean |
isStarted() |
boolean |
isTestMode() |
void |
setAddWebappResourceLoaders(boolean addWebappResourceLoaders) |
void |
setConfigMode(JettyServerLifecycle.ConfigMode configMode) |
void |
setTestMode(boolean t) |
void |
start() |
void |
stop() |
protected JettyLauncher jettyServer
public JettyServerLifecycle()
public JettyServerLifecycle(int port)
public JettyServerLifecycle(int port, String contextName)
public JettyServerLifecycle(int port, String contextName, String relativeWebappRoot)
public static org.kuali.rice.core.api.config.property.Config getWebappConfig(int port)
public void setTestMode(boolean t)
public boolean isTestMode()
public JettyServerLifecycle.ConfigMode getConfigMode()
public void setConfigMode(JettyServerLifecycle.ConfigMode configMode)
public boolean isAddWebappResourceLoaders()
public void setAddWebappResourceLoaders(boolean addWebappResourceLoaders)
public boolean isStarted()
isStarted
in interface org.kuali.rice.core.api.lifecycle.Lifecycle
public void start() throws Exception
start
in interface org.kuali.rice.core.api.lifecycle.Lifecycle
Exception
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.