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