|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.loader.WeakStopListener
public class WeakStopListener
Waits for the stop event and calls a stop() method.
| Constructor Summary | |
|---|---|
WeakStopListener(java.lang.Object resource)
Creates the new stop listener. |
|
| Method Summary | |
|---|---|
void |
environmentBind(EnvironmentClassLoader loader)
Handles the case where a class loader binds |
void |
environmentConfigure(EnvironmentClassLoader loader)
Handles the case where a class loader configures |
void |
environmentStart(EnvironmentClassLoader loader)
Handles the case where a class loader is activated. |
void |
environmentStop(EnvironmentClassLoader loader)
Handles the case where a class loader is dropped. |
static java.lang.reflect.Method |
getStopMethod(java.lang.Class cl)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WeakStopListener(java.lang.Object resource)
resource - the resource which needs closing| Method Detail |
|---|
public void environmentConfigure(EnvironmentClassLoader loader)
environmentConfigure in interface EnvironmentListenerpublic void environmentBind(EnvironmentClassLoader loader)
environmentBind in interface EnvironmentListenerpublic void environmentStart(EnvironmentClassLoader loader)
environmentStart in interface EnvironmentListenerpublic void environmentStop(EnvironmentClassLoader loader)
environmentStop in interface EnvironmentListenerpublic static java.lang.reflect.Method getStopMethod(java.lang.Class cl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||