public abstract class AbstractWrapper extends Object
Modifier and Type | Field and Description |
---|---|
protected MBeanServerConnection |
connection
The connection to the MBean server.
|
Constructor and Description |
---|
AbstractWrapper(MBeanServerConnection connection) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
get(String name)
Get the value of the requested attribute.
|
protected Object |
wrap(Object result)
Helper to wrap an arbitary result in a wrapper if required.
|
protected final MBeanServerConnection connection
public AbstractWrapper(MBeanServerConnection connection)
public abstract Object get(String name)
wrap(Object)
method.name
- the name of the requested attributeCopyright © 2021. All rights reserved.