xdoclet.jmx.vendor
Class JBossXmlServiceTemplateSubTask

java.lang.Object
  |
  +--xdoclet.DocletSupport
        |
        +--xdoclet.SubTask
              |
              +--xdoclet.TemplateSubTask
                    |
                    +--xdoclet.XmlSubTask
                          |
                          +--xdoclet.jmx.vendor.JBossXmlServiceTemplateSubTask
All Implemented Interfaces:
java.io.Serializable

public class JBossXmlServiceTemplateSubTask
extends XmlSubTask

Generates a skeleton {0}-service.xml file for JBoss mbean configuration. This can help you see what you can set in an mbean, you can just fill in your values and deploy. Currently there is a limitation that only managed attributes with getters show up in the results, however there is a comment for those with only a setter. It treats read-only managed attributes as if they can be written.

Version:
$$
Author:
David Jencks
See Also:
Serialized Form

Inner classes inherited from class xdoclet.TemplateSubTask
TemplateSubTask.ExtentTypes
 
Field Summary
static java.lang.String SUBTASK_NAME
           
 
Fields inherited from class xdoclet.XmlSubTask
useIds
 
Fields inherited from class xdoclet.DocletSupport
currentTag
 
Constructor Summary
JBossXmlServiceTemplateSubTask()
           
 
Method Summary
 java.lang.String getSubTaskName()
           
 void validateOptions()
          Called to validate configuration parameters.
 
Methods inherited from class xdoclet.XmlSubTask
copyAttributesFrom, engineFinished, getDtdFileName, getPublicId, getSchema, getSystemId, getUseIds, getXmlencoding, isValidateXML, setDtdFileName, setPublicId, setSchema, setSystemId, setUseIds, setValidateXML, setXmlencoding, startProcess
 
Methods inherited from class xdoclet.TemplateSubTask
addPackageSubstitution, beanFile, engineStarted, execute, generateForClass, getDestinationFile, getEngine, getExtent, getGeneratedFileName, getHavingClassTag, getOfType, getPackageSubstitutions, getParser, getSubTaskClassName, getTemplateURL, init, isGuessGenerationNeeded, isPackageSubstitutionInheritanceSupported, isPrefixWithPackageStructure, javaFile, matchesGenerationRules, setDestinationFile, setEngine, setExtent, setExtentValue, setGuessGenerationNeeded, setHavingClassTag, setOfType, setPackageSubstitutionInheritanceSupported, setPackageSubstitutions, setParser, setPrefixWithPackageStructure, setSubTaskClassName, setTemplateFile, setTemplateURL, startEngine
 
Methods inherited from class xdoclet.SubTask
addConfigParam, getConfigParams, getContext, getDestDir, getMergeDir, setDestDir, setMergeDir, setSubTaskName
 
Methods inherited from class xdoclet.DocletSupport
getCurrentClass, getCurrentConstructor, getCurrentField, getCurrentMethod, getCurrentPackage, getCurrentTag, isDocletGenerated, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentConstructor, setCurrentField, setCurrentMethod, setCurrentPackage, setCurrentTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUBTASK_NAME

public static final java.lang.String SUBTASK_NAME
Constructor Detail

JBossXmlServiceTemplateSubTask

public JBossXmlServiceTemplateSubTask()
Method Detail

getSubTaskName

public java.lang.String getSubTaskName()
Overrides:
getSubTaskName in class TemplateSubTask

validateOptions

public void validateOptions()
                     throws XDocletException
Called to validate configuration parameters.
Overrides:
validateOptions in class TemplateSubTask
Throws:
XDocletException - Description of Exception