org.apache.commons.jelly.tags.jmx
Class OperationTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.jmx.OperationTag
All Implemented Interfaces:
org.apache.commons.jelly.impl.CollectionTag, org.apache.commons.jelly.Tag

public class OperationTag
extends org.apache.commons.jelly.TagSupport
implements org.apache.commons.jelly.impl.CollectionTag

Registers a JavaBean or JMX MBean with a server..

Version:
$Revision: 155420 $
Author:
James Strachan

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
OperationTag()
           
 
Method Summary
 void addItem(java.lang.Object value)
           
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
protected  java.lang.Object[] getArgumentArray()
          Converts the argument property into an Object[] or converts the list of added argument objects (added via child tags) to an Object[] or return an empty argument array.
 java.lang.Object getArguments()
           
 java.lang.String getName()
           
 java.lang.String[] getParameters()
           
 void setArguments(java.lang.Object arguments)
          Sets the arguments.
 void setName(java.lang.String name)
          Sets the name.
 void setParameters(java.lang.String[] parameters)
          Sets the parameters.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationTag

public OperationTag()
Method Detail

addItem

public void addItem(java.lang.Object value)
Specified by:
addItem in interface org.apache.commons.jelly.impl.CollectionTag

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Specified by:
doTag in interface org.apache.commons.jelly.Tag
Throws:
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException

getArguments

public java.lang.Object getArguments()
Returns:
Object

getName

public java.lang.String getName()
Returns:
String

getParameters

public java.lang.String[] getParameters()
Returns:
String[]

setArguments

public void setArguments(java.lang.Object arguments)
Sets the arguments.

Parameters:
arguments - The arguments to set

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - The name to set

setParameters

public void setParameters(java.lang.String[] parameters)
Sets the parameters.

Parameters:
parameters - The parameters to set

getArgumentArray

protected java.lang.Object[] getArgumentArray()
Converts the argument property into an Object[] or converts the list of added argument objects (added via child tags) to an Object[] or return an empty argument array.



Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.