public class JMXGetTask extends AbstractCatalinaTask
/jmxproxy/?get)
 supported by the Tomcat manager application.| Modifier and Type | Field and Description | 
|---|---|
| protected String | attributeThe attribute you wish to alter | 
| protected String | beanThe full bean name | 
charset, password, url, usernamealwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream| Constructor and Description | 
|---|
| JMXGetTask() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | execute()Execute the requested operation. | 
| String | getAttribute()Get method for the attribute name | 
| String | getBean()Get method for the bean name | 
| void | setAttribute(String attribute)Set method for the attribute name | 
| void | setBean(String bean)Set method for the bean name | 
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 String bean
protected String attribute
public String getBean()
public void setBean(String bean)
bean - Bean namepublic String getAttribute()
public void setAttribute(String attribute)
attribute - Attribute namepublic void execute()
             throws org.apache.tools.ant.BuildException
execute in class AbstractCatalinaTaskorg.apache.tools.ant.BuildException - if an error occursCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.