org.apache.catalina.ant

Class JMXGetTask

public class JMXGetTask extends AbstractCatalinaTask

Ant task that implements the JMX Get command (/jmxproxy/?get) supported by the Tomcat manager application.

Version: $Revision: 467222 $

Author: Peter Rossbach

Field Summary
protected Stringattribute
The attribute you wish to alter
protected Stringbean
The full bean name
Method Summary
voidexecute()
Execute the requested operation.
StringgetAttribute()
Get method for the attribute name
StringgetBean()
Get method for the bean name
voidsetAttribute(String attribute)
Set method for the attribute name
voidsetBean(String bean)
Set method for the bean name

Field Detail

attribute

protected String attribute
The attribute you wish to alter

bean

protected String bean
The full bean name

Method Detail

execute

public void execute()
Execute the requested operation.

Throws: BuildException if an error occurs

getAttribute

public String getAttribute()
Get method for the attribute name

Returns: Attribute name

getBean

public String getBean()
Get method for the bean name

Returns: Bean name

setAttribute

public void setAttribute(String attribute)
Set method for the attribute name

Parameters: attribute Attribute name

setBean

public void setBean(String bean)
Set method for the bean name

Parameters: bean Bean name

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.