|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.guice.AbstractContextCloseHandler<T>
public abstract class AbstractContextCloseHandler<T>
A partially implemented handler for objects contained in contexts that
are closing. Concrete extensions of this class only have to define
close
and have a constructor that calls super(T.class)
.
Method Summary | |
---|---|
abstract void |
close(T object)
Action to take when the context containing object is closed. |
java.lang.Class<T> |
type()
The type of objects handled by this handler. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract void close(T object) throws java.lang.Exception
ContextCloseHandler
object
is closed.
close
in interface ContextCloseHandler<T>
java.lang.Exception
public java.lang.Class<T> type()
ContextCloseHandler
type
in interface ContextCloseHandler<T>
|
Copyright ? 2005 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |