Searching MBeans (search) With the Jolokia search operation the agent can be queried for MBeans with a given pattern. Searching will be performed on every MBeanServer found by the agent.
GET search request The format of the search GET URL is: /search/]]> This mode is used to query for certain MBean. It takes a single argument pattern for specifying the search parameter like in You can use patterns as described here, i.e. it may contain wildcards like * and ?. The Mbean names matching the query are returned as a list within the response.
POST search request A search POST request knows the following keys: POST Search Request
Key Description Example
type search
mbean The MBean pattern to search for java.lang:*
The following request searches for all MBeans registered in the domain java.lang
Search response The answer is a list of MBean names which matches the pattern or an empty list if there was no match. For example, the request http://localhost:8888/jolokia/search/*:j2eeType=J2EEServer,* results in The returned MBean names are properly quoted so that they can be directly used as input for other requests.