|
||||||||||
| 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_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. |
|
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 void start()
throws java.lang.Exception
ResinSubSystem
start in interface ResinSubSystemjava.lang.Exceptionpublic int getStopPriority()
ResinSubSystem
getStopPriority in interface ResinSubSystem
public void stop()
throws java.lang.Exception
ResinSubSystem
stop in interface ResinSubSystemjava.lang.Exceptionpublic void destroy()
ResinSubSystem
destroy in interface ResinSubSystempublic java.lang.String toString()
toString in class java.lang.Objectprotected 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 | |||||||||