Package org.jppf.management.doc
Class NodeForwardingProxyTestGenerator
java.lang.Object
org.jppf.management.doc.MBeanInfoVisitorAdapter
org.jppf.management.doc.AbstractForwardingCodeGenerator<NodeForwardingProxyTestGenerator>
org.jppf.management.doc.NodeForwardingProxyTestGenerator
- All Implemented Interfaces:
MBeanInfoVisitor
public class NodeForwardingProxyTestGenerator
extends AbstractForwardingCodeGenerator<NodeForwardingProxyTestGenerator>
Generate the source code for static proxies forwzrding requests to node MBeans through a driver.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jppf.management.doc.MBeanInfoVisitor
MBeanInfoVisitor.MBeanFeatureFilter, MBeanInfoVisitor.MBeanFilter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringdefaultValueExpression(String className) Get a default value for the specified type.voidendMBean(ObjectName name, MBeanInfo info) End the visit for the specified mbean.static voidEntry point.voidvisitAttribute(AbstractForwardingCodeGenerator<NodeForwardingProxyTestGenerator>.org.jppf.management.doc.AbstractForwardingCodeGenerator.AttributeInfo info, MBeanAttributeInfo attribute) Methods inherited from class org.jppf.management.doc.AbstractForwardingCodeGenerator
startMBean, visitAttribute, visitOperationMethods inherited from class org.jppf.management.doc.MBeanInfoVisitorAdapter
end, endAttributes, endOperations, start, startAttributes, startOperations
-
Constructor Details
-
NodeForwardingProxyTestGenerator
public NodeForwardingProxyTestGenerator()Initialize this visitor.
-
-
Method Details
-
endMBean
Description copied from interface:MBeanInfoVisitorEnd the visit for the specified mbean.- Specified by:
endMBeanin interfaceMBeanInfoVisitor- Overrides:
endMBeanin classAbstractForwardingCodeGenerator<NodeForwardingProxyTestGenerator>- Parameters:
name- the object name of the mbea,.info- full information on the mbena.- Throws:
Exception- if any error occurs.
-
visitAttribute
public void visitAttribute(AbstractForwardingCodeGenerator<NodeForwardingProxyTestGenerator>.org.jppf.management.doc.AbstractForwardingCodeGenerator.AttributeInfo info, MBeanAttributeInfo attribute) throws Exception - Throws:
Exception
-
defaultValueExpression
Get a default value for the specified type.- Parameters:
className- the name of the class.- Returns:
- a valid default value for the type.
-
main
Entry point.- Parameters:
args- not used.
-