public class StreamServer
extends java.lang.Object
implements org.springframework.context.SmartLifecycle, org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
protected StreamDeployer |
streamDeployer |
Constructor and Description |
---|
StreamServer(StreamDeployer streamDeployer) |
StreamServer(StreamDeployer streamDeployer,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setContextPath(java.lang.String contextPath)
Set the contextPath
|
void |
setServletName(java.lang.String servletName)
Set the servletName.
|
void |
start() |
void |
stop() |
void |
stop(java.lang.Runnable callback) |
protected final org.apache.commons.logging.Log logger
protected final StreamDeployer streamDeployer
public StreamServer(StreamDeployer streamDeployer)
public StreamServer(StreamDeployer streamDeployer, int port)
public void setContextPath(java.lang.String contextPath)
contextPath
- public void setServletName(java.lang.String servletName)
servletName
- public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public boolean isAutoStartup()
isAutoStartup
in interface org.springframework.context.SmartLifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public void stop(java.lang.Runnable callback)
stop
in interface org.springframework.context.SmartLifecycle