org.apache.catalina.ant

Class JMXQueryTask

public class JMXQueryTask extends AbstractCatalinaTask

Ant task that implements the JMX Query command (/jmxproxy/?qry) supported by the Tomcat manager application.

Version: $Revision: 467222 $

Author: Vivek Chopra

Field Summary
protected Stringquery
The JMX query string
Method Summary
voidexecute()
Execute the requested operation.
StringgetQuery()
Get method for the JMX query string
voidsetQuery(String query)
Set method for the JMX query string.

Field Detail

query

protected String query
The JMX query string

See Also: setQuery

Method Detail

execute

public void execute()
Execute the requested operation.

Throws: BuildException if an error occurs

getQuery

public String getQuery()
Get method for the JMX query string

Returns: Query string

setQuery

public void setQuery(String query)
Set method for the JMX query string.

Examples of query format:

Parameters: query JMX Query string

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.