Yeah, it's kind of hacky, probably a bad idea. Don't do it if the overhead of
translating from Address to ClusterNode in the adapter class is small.
HA-JNDI is in the cluster module, which has a JGroups dependency. So a class that can
satisfy both ResponseFilter and RspFilter doesn't introduce any new dependency.
The hacky thing is ClusterPartition looking at an object of type ResponseFilter, seeing it
implements RspFilter, and treating it as a RspFilter even though it was not presented that
way.
Good catch on the pom dependency. I need to look why that's there (rather than just
being transitive via the optional JBC dependency.) Probably because JBC 2.1.0.GA
didn't depend on the JBC release I wanted in the AS, but I don't see why I'd
want JGroups in the ha-server-api pom because of that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163426#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...