public class WeakDestroyListener extends java.lang.Object implements EnvironmentListener
Constructor and Description |
---|
WeakDestroyListener(java.lang.reflect.Method preDestroy,
java.lang.Object obj)
Creates the new stop listener.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public WeakDestroyListener(java.lang.reflect.Method preDestroy, java.lang.Object obj)
resource
- the resource which needs closingpublic void environmentConfigure(EnvironmentClassLoader loader)
environmentConfigure
in interface EnvironmentListener
public void environmentBind(EnvironmentClassLoader loader)
environmentBind
in interface EnvironmentListener
public void environmentStart(EnvironmentClassLoader loader)
environmentStart
in interface EnvironmentListener
public void environmentStop(EnvironmentClassLoader loader)
environmentStop
in interface EnvironmentListener