1 25 26 package org.objectweb.jonas.jtests.beans.folder; 27 28 import java.rmi.RemoteException ; 29 import javax.ejb.CreateException ; 30 import javax.ejb.EJBObject ; 31 import javax.ejb.FinderException ; 32 import javax.ejb.RemoveException ; 33 34 37 public interface Folder extends EJBObject { 38 public File newFile(String fname) throws RemoteException , CreateException ; 39 public File getFile(String fname) throws RemoteException , FinderException ; 40 public void sendRef(Folder f) throws RemoteException ; 41 public void sendInt(int i) throws RemoteException ; 42 public void sendRefTS(Folder f) throws RemoteException ; 43 public void sendIntTS(int i) throws RemoteException ; 44 public Folder getRef(Folder f) throws RemoteException ; 45 public int getInt(int i) throws RemoteException ; 46 public Folder getRefTS(Folder f) throws RemoteException ; 47 public int getIntTS(int i) throws RemoteException ; 48 public void sendArray(long[] x) throws RemoteException ; 49 public long[] getArray() throws RemoteException ; 50 public boolean testTimerRemoved(String fname) throws RemoteException , CreateException , RemoveException ; 51 public boolean testTimerCancel(String fname) throws RemoteException , CreateException ; 52 } 53 | Popular Tags |