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_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER
 
Constructor Summary
ServletSystem(Server server)
           
 
Method Summary
static ServletSystem createAndAddService(Server server)
           
static ServletSystem getCurrent()
           
 Server 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, preCreate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletSystem

public ServletSystem(Server server)
Method Detail

createAndAddService

public static ServletSystem createAndAddService(Server server)

getCurrent

public static ServletSystem getCurrent()

getServer

public Server 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