|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jms.client.container.ClosedInterceptor
An interceptor for checking closed state. It waits for other invocations to complete allowing the close.
Constructor Summary | |
ClosedInterceptor()
|
Method Summary | |
protected boolean |
checkCloseAlreadyDone()
Check the close has not already been done and wait for all invocations to complete |
protected boolean |
checkClosingAlreadyDone()
Check the closing notification has not already been done |
protected void |
closed()
Closed the object |
protected void |
closing()
Closing the object |
protected void |
done()
Mark the object as no longer inuse |
java.lang.String |
getName()
|
protected void |
inuse()
Mark the object as inuse |
java.lang.Object |
invoke(Invocation invocation)
|
protected void |
maintainRelatives(Invocation invocation)
Close children and remove from parent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClosedInterceptor()
Method Detail |
public java.lang.String getName()
public java.lang.Object invoke(Invocation invocation) throws java.lang.Throwable
java.lang.Throwable
protected boolean checkClosingAlreadyDone() throws java.lang.Throwable
java.lang.Throwable
protected void closing() throws java.lang.Throwable
java.lang.Throwable
protected boolean checkCloseAlreadyDone() throws java.lang.Throwable
java.lang.Throwable
protected void closed() throws java.lang.Throwable
java.lang.Throwable
protected void inuse() throws java.lang.Throwable
java.lang.Throwable
protected void done() throws java.lang.Throwable
java.lang.Throwable
protected void maintainRelatives(Invocation invocation)
invocation
- the invocation
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |