org.objectweb.joram.client.jms
Class MessageConsumer.Closer

java.lang.Object
  extended by org.objectweb.joram.client.jms.MessageConsumer.Closer
Enclosing class:
MessageConsumer

 class MessageConsumer.Closer
extends java.lang.Object

This class synchronizes the close. Close can't be synchronized with 'this' because the MessageConsumer must be accessed concurrently during its closure. So we need a second lock.


Constructor Summary
MessageConsumer.Closer()
           
 
Method Summary
(package private)  void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageConsumer.Closer

MessageConsumer.Closer()
Method Detail

close

void close()
     throws javax.jms.JMSException
Throws:
javax.jms.JMSException


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.