1 22 package org.jboss.ejb3.test.clusteredsession; 23 24 import java.rmi.dgc.VMID ; 25 26 32 public interface StatefulRemote 33 { 34 int increment(); 35 String getHostAddress(); 36 37 int getPostActivate(); 38 39 int getPrePassivate(); 40 41 void setState(String state); 42 43 String getState(); 44 45 void reset(); 46 47 void resetActivationCounter(); 48 49 void longRunning() throws Exception ; 50 51 void remove(); 52 53 public NodeAnswer getNodeState(); 54 55 public void setName(String name); 56 57 public void setNameOnlyOnNode(String name, VMID node); 58 59 public void setUpFailover(String failover); 60 } 61 | Popular Tags |