public class JMXSetTask extends AbstractCatalinaTask
/jmxproxy/?set)
 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 | 
| protected String | valueThe new value for the attribute | 
charset, password, url, usernamealwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream| Constructor and Description | 
|---|
| JMXSetTask() | 
| 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 | 
| String | getValue()Get method for the attribute value | 
| void | setAttribute(String attribute)Set method for the attribute name | 
| void | setBean(String bean)Set method for the bean name | 
| void | setValue(String value)Set method for the attribute value. | 
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
protected String value
public String getBean()
public void setBean(String bean)
bean - Bean namepublic String getAttribute()
public void setAttribute(String attribute)
attribute - Attribute namepublic String getValue()
public void setValue(String value)
value - Attribute valuepublic 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.