|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.loader.WeakLoaderListener
public class WeakLoaderListener
Waits for the close event and calls a destroy() method.
| Constructor Summary | |
|---|---|
WeakLoaderListener(ClassLoaderListener listener)
Creates the new close listener. |
|
| Method Summary | |
|---|---|
void |
classLoaderDestroy(DynamicClassLoader loader)
Handles the case where a class loader is dropped. |
void |
classLoaderInit(DynamicClassLoader loader)
Handles the case where a class loader is activated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WeakLoaderListener(ClassLoaderListener listener)
resource - the resource which needs closing| Method Detail |
|---|
public void classLoaderInit(DynamicClassLoader loader)
classLoaderInit in interface ClassLoaderListenerpublic void classLoaderDestroy(DynamicClassLoader loader)
classLoaderDestroy in interface ClassLoaderListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||