org.objectweb.joram.mom.dest.jms
Class JMSModule.ReconnectionDaemon

java.lang.Object
  extended by fr.dyade.aaa.common.Daemon
      extended by org.objectweb.joram.mom.dest.jms.JMSModule.ReconnectionDaemon
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
JMSModule

protected class JMSModule.ReconnectionDaemon
extends Daemon

The ReconnectionDaemon thread is responsible for reconnecting the bridge module with the foreign JMS server in case of disconnection.


Field Summary
 
Fields inherited from class fr.dyade.aaa.common.Daemon
canStop, group, logmon, priority, running, thread
 
Constructor Summary
protected JMSModule.ReconnectionDaemon()
          Constructs a ReconnectionDaemon thread.
 
Method Summary
 void close()
          Releases the daemon's resources.
protected  void reconnect()
          Notifies the daemon to start reconnecting.
 void run()
          The daemon's loop.
 void shutdown()
          Shuts the daemon down.
 
Methods inherited from class fr.dyade.aaa.common.Daemon
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMSModule.ReconnectionDaemon

protected JMSModule.ReconnectionDaemon()
Constructs a ReconnectionDaemon thread.

Method Detail

reconnect

protected void reconnect()
Notifies the daemon to start reconnecting.


run

public void run()
The daemon's loop.


shutdown

public void shutdown()
Shuts the daemon down.

Specified by:
shutdown in class Daemon

close

public void close()
Releases the daemon's resources.

Specified by:
close in class Daemon


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