Package org.apache.catalina.ant
Class JMXGetTask
- java.lang.Object
- 
- org.apache.tools.ant.ProjectComponent
- 
- org.apache.tools.ant.Task
- 
- org.apache.catalina.ant.BaseRedirectorHelperTask
- 
- org.apache.catalina.ant.AbstractCatalinaTask
- 
- org.apache.catalina.ant.JMXGetTask
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable
 
 public class JMXGetTask extends AbstractCatalinaTask Ant task that implements the JMX Get command (/jmxproxy/?get) supported by the Tomcat manager application.- Author:
- Peter Rossbach
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringattributeThe attribute you wish to alterprotected java.lang.StringbeanThe full bean name- 
Fields inherited from class org.apache.catalina.ant.AbstractCatalinaTaskcharset, ignoreResponseConstraint, password, url, username
 - 
Fields inherited from class org.apache.catalina.ant.BaseRedirectorHelperTaskalwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream
 
- 
 - 
Constructor SummaryConstructors Constructor Description JMXGetTask()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Execute the requested operation.java.lang.StringgetAttribute()Get method for the attribute namejava.lang.StringgetBean()Get method for the bean namevoidsetAttribute(java.lang.String attribute)Set method for the attribute namevoidsetBean(java.lang.String bean)Set method for the bean name- 
Methods inherited from class org.apache.catalina.ant.AbstractCatalinaTaskexecute, execute, getCharset, getPassword, getUrl, getUsername, isIgnoreResponseConstraint, setCharset, setIgnoreResponseConstraint, setPassword, setUrl, setUsername
 - 
Methods inherited from class org.apache.catalina.ant.BaseRedirectorHelperTaskaddConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputproperty
 - 
Methods inherited from class org.apache.tools.ant.TaskbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
- 
 
- 
- 
- 
Method Detail- 
getBeanpublic java.lang.String getBean() Get method for the bean name- Returns:
- Bean name
 
 - 
setBeanpublic void setBean(java.lang.String bean) Set method for the bean name- Parameters:
- bean- Bean name
 
 - 
getAttributepublic java.lang.String getAttribute() Get method for the attribute name- Returns:
- Attribute name
 
 - 
setAttributepublic void setAttribute(java.lang.String attribute) Set method for the attribute name- Parameters:
- attribute- Attribute name
 
 - 
executepublic void execute() throws org.apache.tools.ant.BuildExceptionExecute the requested operation.- Overrides:
- executein class- AbstractCatalinaTask
- Throws:
- org.apache.tools.ant.BuildException- if an error occurs
 
 
- 
 
-