public class JMXQueryTask extends AbstractCatalinaTask
/jmxproxy/?qry
) supported by the Tomcat manager application.Modifier and Type | Field and Description |
---|---|
protected String |
query
The JMX query string
|
charset, ignoreResponseConstraint, password, url, username
alwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream
Constructor and Description |
---|
JMXQueryTask() |
Modifier and Type | Method and Description |
---|---|
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.
|
execute, execute, getCharset, getPassword, getUrl, getUsername, isIgnoreResponseConstraint, setCharset, setIgnoreResponseConstraint, setPassword, setUrl, setUsername
addConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputproperty
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected String query
setQuery(String)
public String getQuery()
public void setQuery(String query)
Examples of query format:
query
- JMX Query stringpublic void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractCatalinaTask
org.apache.tools.ant.BuildException
- if an error occursCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.