Package org.jppf.management.doc
Interface MBeanInfoVisitor
- All Known Implementing Classes:
AbstractForwardingCodeGenerator,HTMLMBeanInfoWriter,MBeanInfoVisitorAdapter,NodeForwardingProxyGenerator,NodeForwardingProxyTestGenerator,WikiMBeanInfoWriter
public interface MBeanInfoVisitor
Visitor interface for exploring the information on all JPPF MBeans in a specified remote MBean server.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceFunctional interface to filter the MBean elements (attributes or operations) to visit.static interfaceFunctional interface to filter the MBeans to visit. -
Method Summary
Modifier and TypeMethodDescriptionvoidend(DriverConnectionInfo connectionInfo) End the visit for the specified remote MBean server.voidendAttributes(MBeanAttributeInfo[] attributes) End visiting the attributes of the specified mbean.voidendMBean(ObjectName name, MBeanInfo info) End the visit for the specified mbean.voidendOperations(MBeanOperationInfo[] operations) End visiting the operations of the specified mbean.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.static voidvisit(MBeanInfoVisitor visitor, DriverConnectionInfo connectionInfo) Perform the visit.static voidvisit(MBeanInfoVisitor visitor, DriverConnectionInfo connectionInfo, MBeanInfoVisitor.MBeanFilter mbeanFilter, MBeanInfoVisitor.MBeanFeatureFilter featureFilter) Perform the visit.voidvisitAttribute(MBeanAttributeInfo attribute) Visit the specified mbean attribute.voidvisitOperation(MBeanOperationInfo operation) Visit the specified mbean operation.
-
Method Details
-
start
Start the visit for the specified remote MBean server.- Parameters:
connectionInfo- represent the information to connect the remote JMX server.- Throws:
Exception- if any error occurs.
-
end
End the visit for the specified remote MBean server.- Parameters:
connectionInfo- information of the remote JVM to connect to.- Throws:
Exception- if any error occurs.
-
startMBean
Start the visit for the specified mbean.- Parameters:
name- the object name of the mbea,.info- full information on the mbena.- Throws:
Exception- if any error occurs.
-
endMBean
End the visit for the specified mbean.- Parameters:
name- the object name of the mbea,.info- full information on the mbena.- Throws:
Exception- if any error occurs.
-
startAttributes
Start visiting the attributes of the specified mbean.- Parameters:
attributes- the attributes to visit.- Throws:
Exception- if any error occurs.
-
endAttributes
End visiting the attributes of the specified mbean.- Parameters:
attributes- the attributes to visit.- Throws:
Exception- if any error occurs.
-
visitAttribute
Visit the specified mbean attribute.- Parameters:
attribute- info on the mbean attribute- Throws:
Exception- if any error occurs.
-
startOperations
Start visiting the operations of the specified mbean.- Parameters:
operations- the mbean operations to visit.- Throws:
Exception- if any error occurs.
-
endOperations
End visiting the operations of the specified mbean.- Parameters:
operations- the mbean operations to visit.- Throws:
Exception- if any error occurs.
-
visitOperation
Visit the specified mbean operation.- Parameters:
operation- info on the mbean operation.- Throws:
Exception- if any error occurs.
-
visit
static void visit(MBeanInfoVisitor visitor, DriverConnectionInfo connectionInfo, MBeanInfoVisitor.MBeanFilter mbeanFilter, MBeanInfoVisitor.MBeanFeatureFilter featureFilter) throws Exception Perform the visit.- Parameters:
visitor- the visitor to apply.connectionInfo- information of the remote JVM to connect to.mbeanFilter- an optional MBean filter, may benull.featureFilter- an optional MBean feature filter, may benull.- Throws:
Exception- if any error occurs.
-
visit
Perform the visit.- Parameters:
visitor- the visitor to apply.connectionInfo- information of the remote JVM to connect to.- Throws:
Exception- if any error occurs.
-