[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: ClusterPartition vs HAPartition

bstansberry@jboss.com do-not-reply at jboss.com
Tue Aug 22 13:32:16 EDT 2006


ClusterPartition/HAPartitionImpl will no longer accept an XML element with the JGroups protocol stack.  Rather it uses injected refs to a JChannelFactory and the name of the stack config to use.  The JChannelFactory is then responsible for providing the channel.

So, the configuration requirements for HAPartitionImpl are pretty simple -- injection of needed services, plus a few primitive properties. Were you talking about a separate configuration pojo largely because of complexity related to the protocol stack config (which no longer exist) or is that a general approach to service configuration that you want in AS 5?

The above doesn't remove the issue of XML-based configuration of JGroups; it just moves it to a different place (the JChannelFactory.)  Configuring a JChannel via a POJO is something I'll have to take up with Bela; JBoss Cache is going to need the same kind of thing.

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

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



More information about the jboss-dev-forums mailing list