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

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.jmx.ServerTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class ServerTag
extends org.apache.commons.jelly.TagSupport

Binds a Java bean to the given named Jelly tag so that the attributes of the tag set the bean properties..

Version:
$Revision: 1.4 $
Author:
James Strachan

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ServerTag()
           
 
Method Summary
protected  javax.management.MBeanServer createServer()
          Factory method to lazily create an MBeanServer if none is supplied
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 javax.management.MBeanServer getServer()
           
 void setServer(javax.management.MBeanServer server)
          Sets the server.
 
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

ServerTag

public ServerTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.MissingAttributeException,
                  org.apache.commons.jelly.JellyTagException
Overrides:
doTag in class org.apache.commons.jelly.TagSupport

getServer

public javax.management.MBeanServer getServer()
Returns:
MBeanServer

setServer

public void setServer(javax.management.MBeanServer server)
Sets the server.
Parameters:
server - The server to set

createServer

protected javax.management.MBeanServer createServer()
Factory method to lazily create an MBeanServer if none is supplied
Returns:
MBeanServer


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