cz.cuni.amis.pogamut.base.utils.jmx.flag
Class FlagJMXProxy<T>

java.lang.Object
  extended by cz.cuni.amis.utils.flag.Flag<T>
      extended by cz.cuni.amis.pogamut.base.utils.jmx.flag.FlagJMXProxy<T>
All Implemented Interfaces:
IFlag<T>, java.io.Serializable

public class FlagJMXProxy<T>
extends Flag<T>

Proxy exposing remote JMX MBean Flag as local flag.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.utils.flag.Flag
Flag.DoInSync<T>
 
Constructor Summary
FlagJMXProxy(javax.management.ObjectName source, javax.management.MBeanServerConnection mbsc, java.lang.String flagName)
           
 
Method Summary
 
Methods inherited from class cz.cuni.amis.utils.flag.Flag
addListener, addStrongListener, clearListeners, defreeze, freeze, getFlag, getImmutable, inSync, inSyncInner, isFrozen, isListenning, isNone, isOne, removeAllListeners, removeListener, setFlag, waitFor, waitFor, waitForChange, waitForChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlagJMXProxy

public FlagJMXProxy(javax.management.ObjectName source,
                    javax.management.MBeanServerConnection mbsc,
                    java.lang.String flagName)
             throws javax.management.MalformedObjectNameException
Throws:
javax.management.MalformedObjectNameException