org.gcube.common.core.instrumentation
Class GHN

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.gcube.common.core.instrumentation.GHN
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter, GHNMBean

public class GHN
extends NotificationBroadcasterSupport
implements GHNMBean


Field Summary
protected  AtomicInteger seqNum
           
 
Constructor Summary
GHN()
           
 
Method Summary
 String addScope(String s)
           
 MBeanNotificationInfo[] getNotificationInfo()
           
 String getUptime()
           
 void notifyAddedScope(GCUBEScope scope)
           
 String removeScope(String s)
           
 void restart()
           
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seqNum

protected AtomicInteger seqNum
Constructor Detail

GHN

public GHN()
Method Detail

getUptime

public String getUptime()
Specified by:
getUptime in interface GHNMBean

restart

public void restart()
             throws Exception
Specified by:
restart in interface GHNMBean
Throws:
Exception

addScope

public String addScope(String s)
                throws Exception
Specified by:
addScope in interface GHNMBean
Throws:
Exception

removeScope

public String removeScope(String s)
                   throws Exception
Specified by:
removeScope in interface GHNMBean
Throws:
Exception

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface NotificationBroadcaster
Overrides:
getNotificationInfo in class NotificationBroadcasterSupport

notifyAddedScope

public void notifyAddedScope(GCUBEScope scope)


Copyright © 2013. All Rights Reserved.