public static class MBeanAccessor.GetAttributes extends Object implements Remote.Function<MBeanServer,Map<String,Map<String,Object>>>, Serializable
MBeanServerConnection.getAttributes
method.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
m_fAddStorageMBeanAttributes
Provide a way to disable management over rest assumption that
we want storage mbean attributes when processing a back tier cache.
|
protected Filter<MBeanAttributeInfo> |
m_filter
MBean Attribute filter.
|
protected MBeanAccessor.QueryBuilder.ParsedQuery |
m_query
The query used to reduce the MBeans.
|
| Constructor and Description |
|---|
GetAttributes()
Default constructor.
|
GetAttributes(MBeanAccessor.QueryBuilder.ParsedQuery query)
Create a GetAttributes object.
|
GetAttributes(MBeanAccessor.QueryBuilder.ParsedQuery query,
Filter<MBeanAttributeInfo> filter,
boolean fAddStorageMBeanAttributes)
Create a GetAttributes object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMBeanAttributes(ObjectName oObjName,
Map<String,Object> mapAttributes,
MBeanServer mBeanServer,
Filter<MBeanAttributeInfo> filter)
Add attributes of an MBean to a Map.
|
Map<String,Map<String,Object>> |
apply(MBeanServer mBeanServer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, compose, identityprotected MBeanAccessor.QueryBuilder.ParsedQuery m_query
protected Filter<MBeanAttributeInfo> m_filter
protected boolean m_fAddStorageMBeanAttributes
public GetAttributes()
public GetAttributes(MBeanAccessor.QueryBuilder.ParsedQuery query)
query - the MBean querypublic GetAttributes(MBeanAccessor.QueryBuilder.ParsedQuery query, Filter<MBeanAttributeInfo> filter, boolean fAddStorageMBeanAttributes)
query - the MBean queryfilter - server side filter for attributes to returnfAddStorageMBeanAttributes - when true, append Storage MBean attributes
to a back tier cache mbean.protected void addMBeanAttributes(ObjectName oObjName, Map<String,Object> mapAttributes, MBeanServer mBeanServer, Filter<MBeanAttributeInfo> filter) throws Exception
oObjName - the attributes filtermapAttributes - the response mapmBeanServer - the MBeanServerfilter - the MBeanAttributeInfo filterException - if an error occurs