[jboss-user] [Clustering/JBoss] - Re: Load-balance the invocation of a MBean in the cluster fr

bstansberry@jboss.com do-not-reply at jboss.com
Tue Dec 9 16:41:22 EST 2008


Now the service's remote interface (not really relevant, just FYI) and its mbean interface:


  | package org.jboss.test.cluster.invokerha;
  | 
  | import java.io.IOException;
  | 
  | public interface HAServiceRemote
  | {
  |    String hello() throws IOException;
  |    
  |    String getClusterNode();
  | }


  | package org.jboss.test.jmx.ha;
  | 
  | import java.util.Map;
  | 
  | import org.jboss.invocation.Invocation;
  | 
  | public interface HAServiceMBean
  |    extends org.jboss.ha.jmx.HAServiceMBean
  | {
  |    // For remoting
  |    Map getMethodMap();
  |    Object invoke(Invocation invocation) throws Exception;
  |    
  |    boolean getSendRemoteLifecycleNotifications();
  |    void setSendRemoteLifecycleNotifications(boolean send);
  | }

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

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



More information about the jboss-user mailing list