I've never had time to doc this. :-(
See this file in the testsuite for an example of deploying a number of HASingletonController instances, each with a differently configured election policy. The file is fairly self-explanatory -- I hope ;)
The HASingletonController exposes an mbean attribute for the policy, but that's a complex type and can't be edited via the JMX console (nor is it meant to be edited after deployment.)
I'm interested in the documentation here too, because JGroups in version 2.7 will have a pluggable coordinator policy too. We should discuss how the 2 policies will complement each other.
Is there a document available now? I have been trying to get some document on Election Policy, how it works, what it does etc. But not able to find it anywhere. Could somebody help me with that?