Class QueryMgrImpl
- java.lang.Object
-
- org.glassfish.admin.amx.impl.mbean.MBeanImplBase
-
- org.glassfish.admin.amx.impl.mbean.AMXImplBase
-
- org.glassfish.admin.amx.impl.mbean.QueryMgrImpl
-
- All Implemented Interfaces:
DynamicMBean
,MBeanRegistration
,NotificationBroadcaster
,NotificationEmitter
,AMX_SPI
,NotificationSender
public class QueryMgrImpl extends AMXImplBase
-
-
Field Summary
-
Fields inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase
EMPTY_OBJECT_NAMES, GET, GET_PREFIX, mMBeanInfo, OBJECT_NAME_SUFFIX, SET
-
Fields inherited from class org.glassfish.admin.amx.impl.mbean.MBeanImplBase
EMPTY_STRING_ARRAY, mSelfObjectName, mServer
-
-
Constructor Summary
Constructors Constructor Description QueryMgrImpl(ObjectName parentObjectName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectName
getGlobalSingleton(String type)
ObjectName[]
getGlobalSingletons()
ObjectName[]
queryAll()
ObjectName[]
queryDescendants(ObjectName parentObjectName)
ObjectName[]
queryName(String name)
ObjectName[]
queryPattern(ObjectName pattern)
ObjectName[]
queryProps(String props)
ObjectName[]
queryType(String type)
ObjectName[]
queryTypeName(String type, String name)
ObjectName[]
queryTypes(Set<String> types)
ObjectName[]
queryWildAll(String[] wildKeys, String[] wildValues)
-
Methods inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase
attributeNameToType, attributeTypeMatches, child, child, child, findGetter, findMethod, findSetter, getAncestorByType, getAttribute, getAttributeByMethod, getAttributeInfo, getAttributeInfos, getAttributeInternal, getAttributeManually, getAttributeNames, getAttributeNoThrow, getAttributes, getAttributeType, getChildren, getChildren, getChildren, getChildren, getChildrenMap, getDomainRoot, getDomainRootProxy, getLogger, getMBeanInfo, 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, setAttributeManually, setAttributes, shouldEmitNotifications, stringify, supportsChildren, toString, unimplementedAttribute, unimplementedOperation, unregisterChildren
-
Methods inherited from class org.glassfish.admin.amx.impl.mbean.MBeanImplBase
_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, trace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, removeNotificationListener
-
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
-
-
-
-
Constructor Detail
-
QueryMgrImpl
public QueryMgrImpl(ObjectName parentObjectName)
-
-
Method Detail
-
queryProps
public ObjectName[] queryProps(String props)
-
queryTypes
public ObjectName[] queryTypes(Set<String> types)
-
queryType
public ObjectName[] queryType(String type)
-
queryName
public ObjectName[] queryName(String name)
-
queryPattern
public ObjectName[] queryPattern(ObjectName pattern)
-
queryTypeName
public ObjectName[] queryTypeName(String type, String name)
- Returns:
- Set
containing all items that have the matching type and name
-
queryWildAll
public ObjectName[] queryWildAll(String[] wildKeys, String[] wildValues)
-
queryAll
public ObjectName[] queryAll()
-
getGlobalSingletons
public ObjectName[] getGlobalSingletons()
-
getGlobalSingleton
public ObjectName getGlobalSingleton(String type)
-
queryDescendants
public ObjectName[] queryDescendants(ObjectName parentObjectName)
-
-