public class WeakLoaderListener extends java.lang.Object implements ClassLoaderListener
Constructor and Description |
---|
WeakLoaderListener(ClassLoaderListener listener)
Creates the new close listener.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public WeakLoaderListener(ClassLoaderListener listener)
resource
- the resource which needs closingpublic void classLoaderInit(DynamicClassLoader loader)
classLoaderInit
in interface ClassLoaderListener
public void classLoaderDestroy(DynamicClassLoader loader)
classLoaderDestroy
in interface ClassLoaderListener