1 22 package org.jboss.test.hello.interfaces; 23 24 import java.rmi.RemoteException ; 25 import javax.ejb.EJBObject ; 26 27 32 public interface Hello 33 extends EJBObject 34 { 35 public String hello(String name) 36 throws RemoteException ; 37 38 public String loggedHello(String name) 39 throws RemoteException ; 40 41 public String helloException(String name) 42 throws HelloException, RemoteException ; 43 44 public Hello helloHello(Hello object) 45 throws RemoteException ; 46 47 public String howdy(HelloData name) 48 throws RemoteException ; 49 50 58 public String sleepingHello(String name, long sleepTimeMS) 59 throws RemoteException ; 60 61 68 public Object getCNFEObject() 69 throws RemoteException ; 70 71 public void throwException() 72 throws RemoteException ; 73 74 public NotSerializable getNotSerializable() 75 throws RemoteException ; 76 77 public void setNotSerializable(NotSerializable ignored) 78 throws RemoteException ; 79 } 80 | Popular Tags |