|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.env.service.AbstractResinSubSystem
public class AbstractResinSubSystem
Interface for a service registered with the 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 | |
---|---|
AbstractResinSubSystem()
|
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. |
|
boolean |
isActive()
|
|
protected static
|
preCreate(java.lang.Class<E> serviceClass)
|
|
void |
start()
Starts the service. |
|
void |
stop()
Stops the service. |
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractResinSubSystem()
Method Detail |
---|
public int getStartPriority()
ResinSubSystem
getStartPriority
in interface ResinSubSystem
public boolean isActive()
public void start() throws java.lang.Exception
ResinSubSystem
start
in interface ResinSubSystem
java.lang.Exception
public int getStopPriority()
ResinSubSystem
getStopPriority
in interface ResinSubSystem
public void stop() throws java.lang.Exception
ResinSubSystem
stop
in interface ResinSubSystem
java.lang.Exception
public void destroy()
ResinSubSystem
destroy
in interface ResinSubSystem
public java.lang.String toString()
toString
in class java.lang.Object
protected static <E extends AbstractResinSubSystem> ResinSystem preCreate(java.lang.Class<E> serviceClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |