Uses of Interface javax.management.QueryExp (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
javax.management.QueryExp

- Packages that use QueryExp
  Package | Description
  --- | ---
  javax.management | Provides the core classes for the Java Management Extensions.

- - ### Uses of QueryExp in javax.management

    Classes in javax.management that implement QueryExp
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ObjectName` Represents the object name of an MBean, or a pattern that can match the names of several MBeans.

    Methods in javax.management that return QueryExp
    Modifier and Type | Method and Description
    --- | ---
    `static QueryExp` | Query.`and(QueryExp q1, QueryExp q2)` Returns a query expression that is the conjunction of two other query expressions.
    `static QueryExp` | Query.`anySubString(AttributeValueExp a, StringValueExp s)` Returns a query expression that represents a matching constraint on a string argument.
    `static QueryExp` | Query.`between(ValueExp v1, ValueExp v2, ValueExp v3)` Returns a query expression that represents the constraint that one value is between two other values.
    `static QueryExp` | Query.`eq(ValueExp v1, ValueExp v2)` Returns a query expression that represents an equality constraint on two values.
    `static QueryExp` | Query.`finalSubString(AttributeValueExp a, StringValueExp s)` Returns a query expression that represents a matching constraint on a string argument.
    `static QueryExp` | Query.`geq(ValueExp v1, ValueExp v2)` Returns a query expression that represents a "greater than or equal to" constraint on two values.
    `static QueryExp` | Query.`gt(ValueExp v1, ValueExp v2)` Returns a query expression that represents a "greater than" constraint on two values.
    `static QueryExp` | Query.`in(ValueExp val, ValueExp[] valueList)` Returns an expression constraining a value to be one of an explicit list.
    `static QueryExp` | Query.`initialSubString(AttributeValueExp a, StringValueExp s)` Returns a query expression that represents a matching constraint on a string argument.
    `static QueryExp` | Query.`isInstanceOf(StringValueExp classNameValue)` Returns a query expression that represents an inheritance constraint on an MBean class.
    `static QueryExp` | Query.`leq(ValueExp v1, ValueExp v2)` Returns a query expression that represents a "less than or equal to" constraint on two values.
    `static QueryExp` | Query.`lt(ValueExp v1, ValueExp v2)` Returns a query expression that represents a "less than" constraint on two values.
    `static QueryExp` | Query.`match(AttributeValueExp a, StringValueExp s)` Returns a query expression that represents a matching constraint on a string argument.
    `static QueryExp` | Query.`not(QueryExp queryExp)` Returns a constraint that is the negation of its argument.
    `static QueryExp` | Query.`or(QueryExp q1, QueryExp q2)` Returns a query expression that is the disjunction of two other query expressions.

    Methods in javax.management with parameters of type QueryExp
    Modifier and Type | Method and Description
    --- | ---
    `static QueryExp` | Query.`and(QueryExp q1, QueryExp q2)` Returns a query expression that is the conjunction of two other query expressions.
    `static QueryExp` | Query.`not(QueryExp queryExp)` Returns a constraint that is the negation of its argument.
    `static QueryExp` | Query.`or(QueryExp q1, QueryExp q2)` Returns a query expression that is the disjunction of two other query expressions.
    `Set<ObjectInstance>` | MBeanServer.`queryMBeans(ObjectName name, QueryExp query)` Gets MBeans controlled by the MBean server.
    `Set<ObjectInstance>` | MBeanServerConnection.`queryMBeans(ObjectName name, QueryExp query)` Gets MBeans controlled by the MBean server.
    `Set<ObjectName>` | MBeanServer.`queryNames(ObjectName name, QueryExp query)` Gets the names of MBeans controlled by the MBean server.
    `Set<ObjectName>` | MBeanServerConnection.`queryNames(ObjectName name, QueryExp query)` Gets the names of MBeans controlled by the MBean server.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.