String[] sig = {"org.jboss.invocation.Invocation"};
Object rtn = mbeanServer.invoke(targetName, "invoke", args, sig);
// Update the targets list if the client view is out of date
Long clientViewId = (Long) invocation.getValue("CLUSTER_VIEW_ID");
HARMIResponse rsp = new HARMIResponse();
if (clientViewId.longValue() != target.getCurrentViewId())
{
rsp.newReplicants = new ArrayList<Object>(target.getReplicantList());
rsp.currentViewId = target.getCurrentViewId();
}