|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
bookExamples.ch35MBeans.basic.SimpleStandard
public class SimpleStandard
Constructor Summary | |
---|---|
SimpleStandard()
|
Method Summary | |
---|---|
int |
getNbChanges()
Getter: get the "NbChanges" attribute of the "SimpleStandard" standard MBean. |
int |
getNbResets()
Return the "NbResets" property. |
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type. |
java.lang.String |
getState()
Getter: get the "State" attribute of the "SimpleStandard" standard MBean. |
void |
reset()
Operation: reset to their initial values the "State" and "NbChanges" attributes of the "SimpleStandard" standard MBean. |
void |
setState(java.lang.String s)
Setter: set the "State" attribute of the "SimpleStandard" standard MBean. |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
---|
addNotificationListener, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleStandard()
Method Detail |
---|
public java.lang.String getState()
getState
in interface SimpleStandardMBean
public void setState(java.lang.String s)
setState
in interface SimpleStandardMBean
s
- the new value of the "State" attribute.public int getNbChanges()
getNbChanges
in interface SimpleStandardMBean
public void reset()
reset
in interface SimpleStandardMBean
public int getNbResets()
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface javax.management.NotificationBroadcaster
getNotificationInfo
in class javax.management.NotificationBroadcasterSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |