|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.loader.WeakDestroyListener
public class WeakDestroyListener
Waits for the stop event and calls a @PreDestroy
| Constructor Summary | |
|---|---|
WeakDestroyListener(java.lang.reflect.Method preDestroy,
java.lang.Object obj)
Creates the new stop listener. |
|
| Method Summary | |
|---|---|
void |
environmentBind(EnvironmentClassLoader loader)
Handles the case where a class loader is bind. |
void |
environmentConfigure(EnvironmentClassLoader loader)
Handles the case where a class loader is configured. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WeakDestroyListener(java.lang.reflect.Method preDestroy,
java.lang.Object obj)
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 EnvironmentListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||