Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mobicents.slee.container.management.jmx
Class SbbUsageMBeanImpl  view SbbUsageMBeanImpl download SbbUsageMBeanImpl.java

java.lang.Object
  extended byStandardMBean
      extended byorg.mobicents.slee.container.management.jmx.SbbUsageMBeanImpl
All Implemented Interfaces:
javax.management.NotificationBroadcaster

public class SbbUsageMBeanImpl
extends StandardMBean
implements javax.management.NotificationBroadcaster

SbbUsageMBeanImpl -- implementation of the SbbUsageMBean


Nested Class Summary
(package private)  class SbbUsageMBeanImpl.ListenerFilterHandbackTriplet
           
 
Field Summary
private  java.util.List listeners
           
private  java.lang.String name
           
private  SbbID sbbId
           
private  ServiceID serviceId
           
private  org.mobicents.slee.container.management.InstalledUsageParameterSet usagePramSet
           
 
Constructor Summary
SbbUsageMBeanImpl(ServiceID serviceID, SbbID sbbId, java.lang.String name, java.lang.String interfaceName)
           
SbbUsageMBeanImpl(java.lang.String interfaceName)
           
 
Method Summary
 void addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
           
 void close()
           
 javax.management.MBeanNotificationInfo[] getNotificationInfo()
           
 SbbID getSbb()
           
 ServiceID getService()
           
 java.lang.String getUsageParameterSet()
           
 void removeNotificationListener(javax.management.NotificationListener listener)
           
 void resetAllUsageParameters()
           
 void sendUsageNotification(long value, long seqno, java.lang.String usageParameterSetName, java.lang.String usageParameterName, boolean isCounter)
          Send the notification.
 void setUsageParameter(org.mobicents.slee.container.management.InstalledUsageParameterSet usageParam)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sbbId

private SbbID sbbId

name

private java.lang.String name

listeners

private java.util.List listeners

usagePramSet

private org.mobicents.slee.container.management.InstalledUsageParameterSet usagePramSet

serviceId

private ServiceID serviceId
Constructor Detail

SbbUsageMBeanImpl

public SbbUsageMBeanImpl(java.lang.String interfaceName)
                  throws javax.management.NotCompliantMBeanException,
                         java.lang.ClassNotFoundException

SbbUsageMBeanImpl

public SbbUsageMBeanImpl(ServiceID serviceID,
                         SbbID sbbId,
                         java.lang.String name,
                         java.lang.String interfaceName)
                  throws javax.management.NotCompliantMBeanException,
                         java.lang.ClassNotFoundException
Method Detail

getService

public ServiceID getService()
                     throws ManagementException

getSbb

public SbbID getSbb()
             throws ManagementException

getUsageParameterSet

public java.lang.String getUsageParameterSet()
                                      throws ManagementException

close

public void close()
           throws InvalidStateException,
                  ManagementException

resetAllUsageParameters

public void resetAllUsageParameters()
                             throws ManagementException

addNotificationListener

public void addNotificationListener(javax.management.NotificationListener listener,
                                    javax.management.NotificationFilter filter,
                                    java.lang.Object handback)
                             throws java.lang.IllegalArgumentException
Specified by:
addNotificationListener in interface javax.management.NotificationBroadcaster

removeNotificationListener

public void removeNotificationListener(javax.management.NotificationListener listener)
                                throws javax.management.ListenerNotFoundException
Specified by:
removeNotificationListener in interface javax.management.NotificationBroadcaster

getNotificationInfo

public javax.management.MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface javax.management.NotificationBroadcaster

sendUsageNotification

public void sendUsageNotification(long value,
                                  long seqno,
                                  java.lang.String usageParameterSetName,
                                  java.lang.String usageParameterName,
                                  boolean isCounter)
Send the notification.


setUsageParameter

public void setUsageParameter(org.mobicents.slee.container.management.InstalledUsageParameterSet usageParam)