org.red5.server.jetty
Class JettyLoader

java.lang.Object
  extended by org.red5.server.LoaderBase
      extended by org.red5.server.jetty.JettyLoader
All Implemented Interfaces:
LoaderMBean, ApplicationContextAware

public class JettyLoader
extends LoaderBase
implements LoaderMBean

Class that loads Red5 applications using Jetty.


Field Summary
protected  String defaultWebConfig
          Default web config filename
protected  Server jetty
          IServer implementation
protected  String jettyConfig
          Jetty config path
protected static Logger log
          Logger
 
Fields inherited from class org.red5.server.LoaderBase
applicationContext, loader, red5AppCtx, webappFolder
 
Constructor Summary
JettyLoader()
           
 
Method Summary
 void init()
           
 void registerJMX()
           
 void removeContext(String path)
          Remove context from the current host.
 void shutdown()
          Shut server down
 boolean startWebApplication(String applicationName)
           
 
Methods inherited from class org.red5.server.LoaderBase
getApplicationContext, getApplicationLoader, getRed5ApplicationContext, getRed5ApplicationContexts, removeRed5ApplicationContext, setApplicationContext, setApplicationLoader, setRed5ApplicationContext, setWebappFolder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Logger log
Logger


defaultWebConfig

protected String defaultWebConfig
Default web config filename


jetty

protected Server jetty
IServer implementation


jettyConfig

protected String jettyConfig
Jetty config path

Constructor Detail

JettyLoader

public JettyLoader()
Method Detail

removeContext

public void removeContext(String path)
Remove context from the current host.

Specified by:
removeContext in interface LoaderMBean
Overrides:
removeContext in class LoaderBase
Parameters:
path - Path

init

public void init()
Specified by:
init in interface LoaderMBean

startWebApplication

public boolean startWebApplication(String applicationName)
Specified by:
startWebApplication in interface LoaderMBean

registerJMX

public void registerJMX()

shutdown

public void shutdown()
Shut server down

Specified by:
shutdown in interface LoaderMBean


Copyright © 2006-2009 The Red5 Project