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