[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: JBAS-4919 - ha singletons in heterogenous topologies
galder.zamarreno@jboss.com
do-not-reply at jboss.com
Tue Apr 8 13:13:41 EDT 2008
"bstansberry at jboss.com" wrote : Would #1 be that bad? You create ExtendedHASingletonElectionPolicy with the missing methods from the AS 5 API. If the injected policy implements Extended, you invoke on it the way AS 5 does. Otherwise it gets used as it is now. In ExtendedHASingletonElectionPolicy javadoc, any HASingletonElectionPolicy methods that don't get called anymore should have comments noting that fact.
|
| Don't get me wrong; I can see how it would get messy. #3 is OK.
Hmm, looking at #1 again, I suppose it's the same thing that was done for HAMembershipExtendedListener. I'll go with #1.
"bstansberry at jboss.com" wrote : I know you did a lot of refactoring to tighten things up in trunk, i.e. with HASingletonElectionPolicyBase; that doesn't need to happen in 4.x, and *shouldn't* happen if it might break some custom subclass. HASingletonElectionPolicySimple just needs to work correctly.
Bingo! The aim for 4.2.x is just fixing it :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142457#4142457
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142457
More information about the jboss-dev-forums
mailing list