public class JMXSetTask extends AbstractCatalinaTask
/jmxproxy/?set
)
supported by the Tomcat manager application.Modifier and Type | Field and Description |
---|---|
protected String |
attribute
The attribute you wish to alter
|
protected String |
bean
The full bean name
|
protected String |
value
The new value for the attribute
|
charset, ignoreResponseConstraint, password, url, username
alwaysLog, 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, 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 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 AbstractCatalinaTask
org.apache.tools.ant.BuildException
- if an error occursCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.