1. Agree with removing the HARMIClient.
2. FamilyClusterInfo looks fine with me to use within remoting. There are a few methods
that I don't really understand what they do, such as:
public int getCursor();
public int setCursor (int cursor);
public Object getObject ();
public Object setObject (Object whatever);
(org.jboss.ha.framework.interfaces.FamilyClusterInfoImpl sheds no light on them really as
they are not used for anything other than the toString()).
3. Would prefer to not have the:
public Object chooseTarget (FamilyClusterInfo clusterFamily, Invocation routingDecision);
in the root interface.
Overall, would like to have a base LoadBalancePolicy interface with just:
public Object chooseTarget (FamilyClusterInfo clusterFamily);
and then have a JBossAS specific one that extends that. Only problem is that everyone is
already using the current LoadBalancePolicy, so could create another base interface the
the current one extends that just has the one chooseTarget() method. Don't really
know what to name it, but seems like might be the easiest approach.
Although jndi will use remoting at some point and deteached invokers will fall under
remoting project at some point, don't want to factor that in too much right now as
don't know when this will happen or what the impact will be.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966502#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...