1 25 26 package org.objectweb.jonas.jtests.beans.worker; 27 28 import java.rmi.RemoteException ; 29 import javax.ejb.RemoveException ; 30 import javax.ejb.EJBObject ; 31 32 36 public interface Worker extends EJBObject { 37 38 41 public void setwcount(int c) throws RemoteException ; 42 43 46 public int getwcount() throws RemoteException ; 47 48 51 public int getNotifyAccepted() throws RemoteException ; 52 53 56 public int getNotifyStarted() throws RemoteException ; 57 58 61 public int getNotifyRejected() throws RemoteException ; 62 63 66 public int getNotifyCompleted() throws RemoteException ; 67 68 71 public void doWorks(int n) throws RemoteException ; 72 73 76 public void startWorks(int n) throws RemoteException ; 77 78 82 public void scheduleWorks(int n, long timeout) throws RemoteException ; 83 84 87 public void doWorkInTx() throws RemoteException ; 88 89 92 public void startWorkInTx() throws RemoteException ; 93 94 97 public void scheduleWorkInTx() throws RemoteException ; 98 } 99 | Popular Tags |