|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.scope.DestructionListener
@Module public class DestructionListener
Contains the objects which need destruction for a given scope.
Constructor Summary | |
---|---|
DestructionListener()
|
Method Summary | |
---|---|
void |
addValue(Contextual<?> bean,
java.lang.Object value)
|
void |
classLoaderDestroy(DynamicClassLoader loader)
Handles the case where a class loader is dropped. |
void |
classLoaderInit(DynamicClassLoader loader)
Handles the case where a class loader has completed initialization |
void |
close()
|
void |
removeEvent(java.lang.Object scope,
java.lang.String name)
|
void |
valueBound(HttpSessionBindingEvent event)
Called when the object is added to a session. |
void |
valueUnbound(HttpSessionBindingEvent event)
Called when the object is removed from a session or the session is invalidated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DestructionListener()
Method Detail |
---|
public void addValue(Contextual<?> bean, java.lang.Object value)
public void removeEvent(java.lang.Object scope, java.lang.String name)
removeEvent
in interface ScopeRemoveListener
public void valueBound(HttpSessionBindingEvent event)
HttpSessionBindingListener
valueBound
in interface HttpSessionBindingListener
event
- session event objectpublic void valueUnbound(HttpSessionBindingEvent event)
HttpSessionBindingListener
valueUnbound
in interface HttpSessionBindingListener
event
- session event objectpublic void classLoaderInit(DynamicClassLoader loader)
ClassLoaderListener
classLoaderInit
in interface ClassLoaderListener
public void classLoaderDestroy(DynamicClassLoader loader)
ClassLoaderListener
classLoaderDestroy
in interface ClassLoaderListener
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |