@ManagedObject(value="Pinger facility") public class PingerMBean extends ObjectMBean
_managed
Constructor and Description |
---|
PingerMBean(Object managedObject) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
String |
ping() |
defineAttribute, getAttribute, getAttributes, getManagedObject, getMBeanContainer, getMBeanInfo, getObjectContextBasis, getObjectName, getObjectNameBasis, invoke, isAnnotationPresent, mbeanFor, setAttribute, setAttributes, setMBeanContainer, toVariableName
public PingerMBean(Object managedObject)
@ManagedOperation(value="Issue Ping") public String ping()
@ManagedAttribute(value="Count of pings") public int getCount()
Copyright © 1995-2015 Webtide. All Rights Reserved.