[jboss-jira] [JBoss JIRA] Created: (JBCLUSTER-180) Calling getters/setters cluster wide - covenience feature

Galder Zamarreno (JIRA) jira-events at jboss.com
Thu Jan 25 05:06:01 EST 2007


Calling getters/setters cluster wide - covenience feature
---------------------------------------------------------

                 Key: JBCLUSTER-180
                 URL: http://jira.jboss.com/jira/browse/JBCLUSTER-180
             Project: JBoss Clustering
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
            Reporter: Galder Zamarreno
         Assigned To: Brian Stansberry
            Priority: Optional


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,

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list