com.caucho.server.cluster
Class ServletSystem

java.lang.Object
  extended by com.caucho.env.service.AbstractResinSubSystem
      extended by com.caucho.server.cluster.ServletSystem
All Implemented Interfaces:
ResinSubSystem

public class ServletSystem
extends AbstractResinSubSystem

The main servlet service in a Resin server.


Field Summary
 
Fields inherited from interface com.caucho.env.service.ResinSubSystem
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DATABASE_SYSTEM, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER
 
Constructor Summary
ServletSystem(ServletService server)
           
 
Method Summary
static ServletSystem createAndAddService(ServletService server)
           
static ServletSystem getCurrent()
           
 ServletService getServer()
           
 void start()
          Starts the servlet engine.
 void stop()
          Stops the servlet engine.
 
Methods inherited from class com.caucho.env.service.AbstractResinSubSystem
destroy, getStartPriority, getStopPriority, isActive, preCreate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletSystem

public ServletSystem(ServletService server)
Method Detail

createAndAddService

public static ServletSystem createAndAddService(ServletService server)

getCurrent

public static ServletSystem getCurrent()

getServer

public ServletService getServer()

start

public void start()
Starts the servlet engine.

Specified by:
start in interface ResinSubSystem
Overrides:
start in class AbstractResinSubSystem

stop

public void stop()
Stops the servlet engine.

Specified by:
stop in interface ResinSubSystem
Overrides:
stop in class AbstractResinSubSystem