Package org.jppf.management.doc
Class AbstractForwardingCodeGenerator<E>
java.lang.Object
org.jppf.management.doc.MBeanInfoVisitorAdapter
org.jppf.management.doc.AbstractForwardingCodeGenerator<E>
- Type Parameters:
E- .
- All Implemented Interfaces:
MBeanInfoVisitor
- Direct Known Subclasses:
NodeForwardingProxyGenerator,NodeForwardingProxyTestGenerator
Abstract super class for classes that Generate source code for forwarding to node MBeans.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jppf.management.doc.MBeanInfoVisitor
MBeanInfoVisitor.MBeanFeatureFilter, MBeanInfoVisitor.MBeanFilter -
Constructor Summary
ConstructorsConstructorDescriptionAbstractForwardingCodeGenerator(String packageName, String sourceRootDir) Initialize this visitor. -
Method Summary
Modifier and TypeMethodDescriptionvoidendMBean(ObjectName name, MBeanInfo info) End the visit for the specified mbean.voidstartMBean(ObjectName mbeanName, MBeanInfo mbean) Start the visit for 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
end, endAttributes, endOperations, start, startAttributes, startOperations
-
Constructor Details
-
AbstractForwardingCodeGenerator
Initialize this visitor.- Parameters:
packageName- the directory where the genrated source files are created.sourceRootDir- the root directory of where the sources are located.
-
-
Method Details
-
startMBean
Description copied from interface:MBeanInfoVisitorStart the visit for the specified mbean.- Specified by:
startMBeanin interfaceMBeanInfoVisitor- Overrides:
startMBeanin classMBeanInfoVisitorAdapter- Parameters:
mbeanName- the object name of the mbea,.mbean- full information on the mbena.- Throws:
Exception- if any error occurs.
-
endMBean
Description copied from interface:MBeanInfoVisitorEnd the visit for the specified mbean.- Specified by:
endMBeanin interfaceMBeanInfoVisitor- Overrides:
endMBeanin classMBeanInfoVisitorAdapter- Parameters:
name- the object name of the mbea,.info- full information on the mbena.- 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.
-
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.
-