[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: JBAS-4919 - ha singletons in heterogenous topologies

bstansberry@jboss.com do-not-reply at jboss.com
Wed Apr 16 16:04:50 EDT 2008


Go ahead and return null, update the javadoc to reflect the fact it might return null, and have HASingletonElectionPolicyBase handle the null properly.

The javadoc doesn't say it won't return null. And null is the only logical answer if  the service isn't deployed anywhere. So adding a lot of workarounds to deal with it doesn't seem worth it.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144632#4144632

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144632



More information about the jboss-dev-forums mailing list