Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5418

Calling getters/setters cluster wide - covenience feature

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Optional Optional
    • No Release
    • None
    • Clustering
    • None
    • Low

      We'd like to check the values of an attirbute on all cluster nodes. Is there any quick way to do so?

      During the startup of your own JMX MBean service you first have to register it with HAPartition
      using registerRPCHandler method in HAPartition [1]. Provide a service name and your own
      MBean object as parameters.

      When checking a value of an attribute of your mbean in the whole cluster you would invoke
      HAPartition.callMethodOnCluster together with service name parameter provided for
      registerRPCHandler method. You have to expose this attribute as an operation

      However, it would be more convenient to just use getter or setter. thanks,

              bstansbe@redhat.com Brian Stansberry
              rh-ee-galder Galder ZamarreƱo
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified