Package org.jppf.management.doc
Class HTMLMBeanInfoWriter
java.lang.Object
org.jppf.management.doc.MBeanInfoVisitorAdapter
org.jppf.management.doc.HTMLMBeanInfoWriter
- All Implemented Interfaces:
MBeanInfoVisitor
Visits the JPPF MBean in a remote JVM and generates a reference documentation page in HTML format.
The intent is to be able to copy the HTLK page and paste it into a Libre Office document, with minimal manual reformatting.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jppf.management.doc.MBeanInfoVisitor
MBeanInfoVisitor.MBeanFeatureFilter, MBeanInfoVisitor.MBeanFilter -
Constructor Summary
ConstructorsConstructorDescriptionHTMLMBeanInfoWriter(Writer writer) Initialize this visitor witht he specifiedWriter. -
Method Summary
Modifier and TypeMethodDescriptionvoidend(DriverConnectionInfo connectionInfo) End the visit for the specified remote MBean server.static voidEntry point.voidstart(DriverConnectionInfo connectionInfo) Start the visit for the specified remote MBean server.voidstartAttributes(MBeanAttributeInfo[] attributes) Start visiting the attributes of the specified mbean.voidstartMBean(ObjectName name, MBeanInfo info) Start the visit for the specified mbean.voidstartOperations(MBeanOperationInfo[] operations) Start visiting the operations of the specified mbean.voidvisitAttribute(MBeanAttributeInfo attribute) Visit the specified mbean attribute.voidvisitOperation(MBeanOperationInfo operation) Visit the specified mbean operation.Methods inherited from class org.jppf.management.doc.MBeanInfoVisitorAdapter
endAttributes, endMBean, endOperations
-
Constructor Details
-
HTMLMBeanInfoWriter
Initialize this visitor witht he specifiedWriter.- Parameters:
writer- the writer in which to print the generated wiki code.
-
-
Method Details
-
start
Description copied from interface:MBeanInfoVisitorStart the visit for the specified remote MBean server.- Specified by:
startin interfaceMBeanInfoVisitor- Overrides:
startin classMBeanInfoVisitorAdapter- Parameters:
connectionInfo- represent the information to connect the remote JMX server.- Throws:
Exception- if any error occurs.
-
end
Description copied from interface:MBeanInfoVisitorEnd the visit for the specified remote MBean server.- Specified by:
endin interfaceMBeanInfoVisitor- Overrides:
endin classMBeanInfoVisitorAdapter- Parameters:
connectionInfo- information of the remote JVM to connect to.- Throws:
Exception- if any error occurs.
-
startMBean
Description copied from interface:MBeanInfoVisitorStart the visit for the specified mbean.- Specified by:
startMBeanin interfaceMBeanInfoVisitor- Overrides:
startMBeanin classMBeanInfoVisitorAdapter- Parameters:
name- the object name of the mbea,.info- full information on the mbena.- Throws:
Exception- if any error occurs.
-
startAttributes
Description copied from interface:MBeanInfoVisitorStart visiting the attributes of the specified mbean.- Specified by:
startAttributesin interfaceMBeanInfoVisitor- Overrides:
startAttributesin classMBeanInfoVisitorAdapter- Parameters:
attributes- the attributes to visit.- Throws:
Exception- if any error occurs.
-
visitAttribute
Description copied from interface:MBeanInfoVisitorVisit the specified mbean attribute.- Specified by:
visitAttributein interfaceMBeanInfoVisitor- Overrides:
visitAttributein classMBeanInfoVisitorAdapter- Parameters:
attribute- info on the mbean attribute- Throws:
Exception- if any error occurs.
-
startOperations
Description copied from interface:MBeanInfoVisitorStart visiting the operations of the specified mbean.- Specified by:
startOperationsin interfaceMBeanInfoVisitor- Overrides:
startOperationsin classMBeanInfoVisitorAdapter- Parameters:
operations- the mbean operations to visit.- Throws:
Exception- if any error occurs.
-
visitOperation
Description copied from interface:MBeanInfoVisitorVisit the specified mbean operation.- Specified by:
visitOperationin interfaceMBeanInfoVisitor- Overrides:
visitOperationin classMBeanInfoVisitorAdapter- Parameters:
operation- info on the mbean operation.- Throws:
Exception- if any error occurs.
-
main
Entry point.- Parameters:
args- not used.
-