Package org.objectweb.joram.mom.dest.jms
Class JMSAcquisition.ConnectionUpdater
- java.lang.Object
-
- fr.dyade.aaa.common.Daemon
-
- org.objectweb.joram.mom.dest.jms.JMSAcquisition.ConnectionUpdater
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- JMSAcquisition
private static class JMSAcquisition.ConnectionUpdater extends Daemon
Daemon used to periodically update the pool of connections known by the acquisition destinations.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConnectionUpdater(long updatePeriod)Constructs aConnectionUpdaterthread.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddUpdateListener(JMSAcquisition module)voidclose()Releases the daemon's resources.protected voidremoveUpdateListener(JMSAcquisition module)voidrun()The daemon's loop.voidshutdown()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
-
-
-
-
Field Detail
-
modules
private List<JMSAcquisition> modules
-
period
private long period
-
closing
private boolean closing
-
-
Method Detail
-
run
public void run()
The daemon's loop.
-
addUpdateListener
protected void addUpdateListener(JMSAcquisition module)
-
removeUpdateListener
protected void removeUpdateListener(JMSAcquisition module)
-
-