1 7 8 package org.jboss.ejb3.test.clusteredsession.nested; 9 10 import org.jboss.ejb3.test.clusteredsession.NodeAnswer; 11 12 import java.rmi.dgc.VMID ; 13 14 20 public interface ParentStatefulRemote 21 { 22 int increment(); 23 String getHostAddress(); 24 25 int getPostActivate(); 26 27 int getPrePassivate(); 28 29 int getNestedPostActivate(); 30 31 int getNestedPrePassivate(); 32 33 void setState(String state); 34 35 String getState(); 36 37 NodeAnswer getStatelessState(); 38 39 void reset(); 40 41 void resetActivationCounter(); 42 43 void longRunning() throws Exception ; 44 45 void remove(); 46 47 public NodeAnswer getNodeState(); 48 49 public void setName(String name); 50 51 public void setNameOnlyOnNode(String name, VMID node); 52 53 public void setUpFailover(String failover); 54 } 55 | Popular Tags |