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
  • Method Details

    • start

      void start(DriverConnectionInfo connectionInfo) throws Exception
      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

      void end(DriverConnectionInfo connectionInfo) throws Exception
      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

      void startMBean(ObjectName name, MBeanInfo info) throws Exception
      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

      void endMBean(ObjectName name, MBeanInfo info) throws Exception
      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

      void startAttributes(MBeanAttributeInfo[] attributes) throws Exception
      Start visiting the attributes of the specified mbean.
      Parameters:
      attributes - the attributes to visit.
      Throws:
      Exception - if any error occurs.
    • endAttributes

      void endAttributes(MBeanAttributeInfo[] attributes) throws Exception
      End visiting the attributes of the specified mbean.
      Parameters:
      attributes - the attributes to visit.
      Throws:
      Exception - if any error occurs.
    • visitAttribute

      void visitAttribute(MBeanAttributeInfo attribute) throws Exception
      Visit the specified mbean attribute.
      Parameters:
      attribute - info on the mbean attribute
      Throws:
      Exception - if any error occurs.
    • startOperations

      void startOperations(MBeanOperationInfo[] operations) throws Exception
      Start visiting the operations of the specified mbean.
      Parameters:
      operations - the mbean operations to visit.
      Throws:
      Exception - if any error occurs.
    • endOperations

      void endOperations(MBeanOperationInfo[] operations) throws Exception
      End visiting the operations of the specified mbean.
      Parameters:
      operations - the mbean operations to visit.
      Throws:
      Exception - if any error occurs.
    • visitOperation

      void visitOperation(MBeanOperationInfo operation) throws Exception
      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 be null.
      featureFilter - an optional MBean feature filter, may be null.
      Throws:
      Exception - if any error occurs.
    • visit

      static void visit(MBeanInfoVisitor visitor, DriverConnectionInfo connectionInfo) throws Exception
      Perform the visit.
      Parameters:
      visitor - the visitor to apply.
      connectionInfo - information of the remote JVM to connect to.
      Throws:
      Exception - if any error occurs.