org.apache.catalina.ant
Class JMXQueryTask
public class JMXQueryTask
Ant task that implements the JMX Query command
(/jmxproxy/?qry
) supported by the Tomcat manager application.
Version:
- Vivek Chopra
protected String | query - The JMX query string
|
void | execute() - Execute the requested operation.
|
String | getQuery() - Get method for the JMX query string
|
void | setQuery(String query) - Set method for the JMX query string.
|
query
protected String query
The JMX query string
setQuery()
execute
public void execute()
throws BuildException
Execute the requested operation.
- execute in interface AbstractCatalinaTask
getQuery
public String getQuery()
Get method for the JMX query string
- Query string
setQuery
public void setQuery(String query)
Set method for the JMX query string.
Examples of query format:
- *:*
- *:type=RequestProcessor,*
- *:j2eeType=Servlet,*
- Catalina:type=Environment,resourcetype=Global,name=simpleValue
query
- JMX Query string
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.