[
http://jira.jboss.com/jira/browse/JBAS-5418?page=all ]
Brian Stansberry updated JBAS-5418:
-----------------------------------
Component/s: Clustering
Moved this to JBAS. I'm trying to get stuff out of JBCLUSTER except:
1) Specific details of the ha-client and ha-server-api projects.
2) Cross project planning stuff, like training material, competitive analysis, etc
3) Really really big picture stuff.
Calling getters/setters cluster wide - covenience feature
---------------------------------------------------------
Key: JBAS-5418
URL:
http://jira.jboss.com/jira/browse/JBAS-5418
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Clustering
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