Package org.apache.catalina.ant
Class JMXSetTask
- 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.JMXSetTask
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable
 
 public class JMXSetTask extends AbstractCatalinaTask Ant task that implements the JMX Set command (/jmxproxy/?set) supported by the Tomcat manager application.- Author:
- Vivek Chopra
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringattributeThe attribute you wish to alterprotected java.lang.StringbeanThe full bean nameprotected java.lang.StringvalueThe new value for the attribute- 
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 JMXSetTask()
 - 
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 namejava.lang.StringgetValue()Get method for the attribute valuevoidsetAttribute(java.lang.String attribute)Set method for the attribute namevoidsetBean(java.lang.String bean)Set method for the bean namevoidsetValue(java.lang.String value)Set method for the attribute value.- 
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
 
 - 
getValuepublic java.lang.String getValue() Get method for the attribute value- Returns:
- Attribute value
 
 - 
setValuepublic void setValue(java.lang.String value) Set method for the attribute value.- Parameters:
- value- Attribute value
 
 - 
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
 
 
- 
 
-