com.caucho.env.service
Interface ResinSubSystem

All Known Implementing Classes:
AbstractResinSubSystem, BamSystem, CdiSystem, ClusterCacheService, DeployControllerService, DistCacheSystem, ElasticCloudSystem, GitSystem, GlobalCacheSystem, HealthService, HealthStatusService, HeartbeatService, HmtpService, LicenseSystem, ListenService, LoadBalanceService, LocalRepositoryService, LockService, LogSystem, MessageSystem, MeterService, NetworkClusterSystem, NetworkListenSystem, NotifyService, ProLogSystem, ProNetworkClusterSystem, ProSocketPollService, ProStatSystem, RepositorySystem, RootDirectorySystem, SecurityService, ServletSystem, ShutdownSystem, SocketPollService, StatProbeManager, StatSystem, StoreService, TempFileService, TopologyService, VoteService, WarningService

public interface ResinSubSystem

Interface for a service registered with the Resin Server.


Field Summary
static int START_PRIORITY_CACHE_SERVICE
           
static int START_PRIORITY_CLASSLOADER
           
static int START_PRIORITY_CLUSTER_SERVICE
           
static int START_PRIORITY_DEFAULT
           
static int START_PRIORITY_ENV_SYSTEM
           
static int START_PRIORITY_NETWORK_CLUSTER
           
 
Method Summary
 void destroy()
          Destroys the service.
 int getStartPriority()
          Returns the start priority of the service, used to determine which services to start first.
 int getStopPriority()
          Returns the stop priority of the service, used to determine which services to stop first.
 void start()
          Starts the service.
 void stop()
          Stops the service.
 

Field Detail

START_PRIORITY_ENV_SYSTEM

static final int START_PRIORITY_ENV_SYSTEM
See Also:
Constant Field Values

START_PRIORITY_NETWORK_CLUSTER

static final int START_PRIORITY_NETWORK_CLUSTER
See Also:
Constant Field Values

START_PRIORITY_CACHE_SERVICE

static final int START_PRIORITY_CACHE_SERVICE
See Also:
Constant Field Values

START_PRIORITY_CLUSTER_SERVICE

static final int START_PRIORITY_CLUSTER_SERVICE
See Also:
Constant Field Values

START_PRIORITY_CLASSLOADER

static final int START_PRIORITY_CLASSLOADER
See Also:
Constant Field Values

START_PRIORITY_DEFAULT

static final int START_PRIORITY_DEFAULT
See Also:
Constant Field Values
Method Detail

getStartPriority

int getStartPriority()
Returns the start priority of the service, used to determine which services to start first.


start

void start()
           throws java.lang.Exception
Starts the service.

Throws:
java.lang.Exception

getStopPriority

int getStopPriority()
Returns the stop priority of the service, used to determine which services to stop first.


stop

void stop()
          throws java.lang.Exception
Stops the service.

Throws:
java.lang.Exception

destroy

void destroy()
Destroys the service.