[
http://jira.jboss.com/jira/browse/JBCLUSTER-180?page=comments#action_1235... ]
Brian Stansberry commented on JBCLUSTER-180:
--------------------------------------------
I guess I was thinking of
http://jira.jboss.com/jira/browse/JBCLUSTER-19, which doesn't describe
the same thing, but in my mind has always meant the larger topic :-)
Also has implications for JBCLUSTER-84.
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry
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
Original Estimate: 4 hours
Remaining Estimate: 4 hours
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