public class JMXQueryTask extends AbstractCatalinaTask
/jmxproxy/?qry) supported by the Tomcat manager application.| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.String | queryThe JMX query string | 
charset, password, url, usernamealwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream| Constructor and Description | 
|---|
| JMXQueryTask() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | execute()Execute the requested operation. | 
| java.lang.String | getQuery()Get method for the JMX query string | 
| void | setQuery(java.lang.String query)Set method for the JMX query string. | 
execute, execute, getCharset, getPassword, getUrl, getUsername, setCharset, setPassword, setUrl, setUsernameaddConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputpropertybindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeprotected java.lang.String query
setQuery(String)public java.lang.String getQuery()
public void setQuery(java.lang.String query)
Examples of query format:
query - JMX Query stringpublic void execute()
             throws org.apache.tools.ant.BuildException
execute in class AbstractCatalinaTaskorg.apache.tools.ant.BuildException - if an error occursCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.