1 25 26 28 package org.objectweb.jonas.jtests.beans.transacted; 29 30 import java.rmi.RemoteException ; 31 import javax.ejb.EJBObject ; 32 import javax.ejb.TimerHandle ; 33 34 37 public interface Simple extends EJBObject { 38 public boolean opwith_notsupported() throws RemoteException ; public boolean opwith_requires_new() throws RemoteException ; public boolean opwith_required() throws RemoteException ; public boolean opwith_mandatory() throws RemoteException ; public boolean opwith_supports() throws RemoteException ; public boolean supports_call_required() throws RemoteException ; public boolean opwith_never() throws RemoteException ; public boolean required_call_requires_new() throws RemoteException ; public boolean call_requires_new_on(Simple other) throws RemoteException ; public int setTimer(int dur, int period) throws RemoteException ; 49 public int setTimerGetHandle(int dur, int period) throws RemoteException ; 50 public void cancelTimer(int id) throws RemoteException ; 51 public long getTimeRemaining(int id) throws RemoteException ; 52 public int getTimerCount() throws RemoteException ; 53 public int getTimerNumber() throws RemoteException ; 54 public TimerHandle getTimerHandle(int id) throws RemoteException ; 55 } 56 | Popular Tags |