Interface Query

  • All Superinterfaces:
    AMX_SPI, AMXProxy, Singleton, Utility

    @Taxonomy(stability=COMMITTED)
    @AMXMBeanMetadata(singleton=true,
                      globalSingleton=true,
                      leaf=true)
    public interface Query
    extends AMXProxy, Utility, Singleton
    Supports various types of queries to find MBeans in the AMX domain only; does not query all MBeans in all domains, only those in the AMX domain.

    Note that the methods as declared return AMXProxy or collections thereof, but the actual result consists only of ObjectName; it is the proxy code that auto-converts to AMXProxy eg invoking with MBeanServerConnection.invoke() will return Set but using QueryMgr (as a client-side proxy) will return Set. If ObjectNames are desirable, use Util#toObjectNames.