public final class SampleImpl extends AMXImplBase
SampleEMPTY_OBJECT_NAMES, GET, GET_PREFIX, mMBeanInfo, OBJECT_NAME_SUFFIX, SETEMPTY_STRING_ARRAY, mSelfObjectName, mServer| Constructor and Description |
|---|
SampleImpl(ObjectName parentObjectName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String name,
Serializable value) |
byte[] |
downloadBytes(int numBytes) |
void |
emitNotifications(Serializable data,
int numNotifs,
long interval) |
ObjectName[] |
getAllAMX() |
Object[] |
getAllSortsOfStuff()
Purpose: have the AMXValidator check what we're returning as acceptable
|
protected Serializable |
getAttributeManually(String name)
Subclasses should override this to handle getAttribute( attrName ).
|
MBeanInfo |
getMBeanInfo() |
void |
removeAttribute(String name) |
protected void |
setAttributeManually(Attribute attr)
Subclasses should override this to handle setAttribute( attr ).
|
void |
uploadBytes(byte[] bytes) |
attributeNameToType, attributeTypeMatches, child, child, child, findGetter, findMethod, findSetter, getAncestorByType, getAttribute, getAttributeByMethod, getAttributeInfo, getAttributeInfos, getAttributeInternal, getAttributeNames, getAttributeNoThrow, getAttributes, getAttributeType, getChildren, getChildren, getChildren, getChildren, getChildrenMap, getDomainRoot, getDomainRootProxy, getLogger, getMBeanTracker, getName, getNotificationInfo, getObjectNameAttribute, getObjectNames, getObjectNamesForAttribute, getParent, getParentProxy, getProxy, getProxyFactory, getSelf, getSelf, getterNameMatches, handleException, handleGetAttributeException, handleInvokeThrowable, impossible, invoke, invokeManually, isReadOnlyAttribute, isUtilityMBean, java, operationNameMatches, postRegisterHook, postRegisterModifyMBeanInfo, preDeregisterHook, preRegister, preRegisterDone, preRegisterHook, preRegisterModifyName, registerChild, registerChildren, sendAttributeChangeNotification, setAttribute, setAttributeByMethod, setAttributeInternal, setAttributes, shouldEmitNotifications, stringify, supportsChildren, toString, unimplementedAttribute, unimplementedOperation, unregisterChildren_getMBeanLogLevel, addNotificationListener, addNotificationListener, createNotificationBuilder, debug, debug, debugMethod, debugMethod, enableAMXDebug, getAMXDebug, getDebugID, getDebugOutput, getJMXDomain, getListenerCount, getMBeanLogger, getMBeanLoggerName, getMBeanLogLevel, getMBeanLogLevelInt, getMBeanServer, getNotificationBuilder, getNotificationEmitter, getNotificationTypeListenerCount, getObjectName, logFine, logFiner, logFinest, logInfo, logSevere, logWarning, postDeregister, postDeregisterHook, postRegister, preDeregister, quote, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, setAMXDebug, setMBeanLogLevel, shouldOmitObjectNameForDebug, toString, traceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitremoveNotificationListeneraddNotificationListener, removeNotificationListenerpublic SampleImpl(ObjectName parentObjectName)
public void emitNotifications(Serializable data, int numNotifs, long interval)
public void addAttribute(String name, Serializable value)
public void removeAttribute(String name)
public MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeangetMBeanInfo in class AMXImplBaseprotected Serializable getAttributeManually(String name)
AMXImplBasegetAttributeManually in class AMXImplBaseprotected void setAttributeManually(Attribute attr)
AMXImplBasesetAttributeManually in class AMXImplBasepublic void uploadBytes(byte[] bytes)
public byte[] downloadBytes(int numBytes)
public ObjectName[] getAllAMX()
public Object[] getAllSortsOfStuff()
Copyright © 2019. All rights reserved.