[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: JBAS-4276 Discussion Thread

JerryGauth do-not-reply at jboss.com
Tue Jul 10 11:42:29 EDT 2007


The classes I've looked at all use the name "ClusterPartition."  Examples include DetachedHANamingService, FarmMemberService and JGCacheInvalidationBridge.  I've haven't done an exhaustive seacrh but clearly we would need to modify more than DetachedHANamingService (e.g., HA-JNDI).

I'm not too enthusiastic about "Partition" as it's such a generic term.  Maybe "HAPartition" would be preferable.

It seems that this change will break clients regardless of what we do about the attribute/method name(s), since the return type of the getter will change from ClusterPartitionMBean to HAPartition.

Agreed that we'll remove the setPartitionName() method from the classes that inject cluster references.  I'll leave getPartitionName() as a convenience method; I noted that you've deprecated it in at least one implementation that I examined.   



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

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



More information about the jboss-dev-forums mailing list