1 22 package org.jboss.ejb3.test.bank; 23 24 import java.rmi.*; 25 26 31 public interface Bank 32 { 33 public static final String JNDI_NAME = "bank/Bank"; 34 35 public String getId() throws RemoteException; 36 37 public String getEnvEntryId() throws javax.naming.NamingException , RemoteException; 38 39 public String createAccountId(Customer customer) throws RemoteException; 40 41 public String createCustomerId() throws RemoteException; 42 43 public void storeCustomerId(String customerId) throws RemoteException; 44 45 public String retrieveCustomerId() throws RemoteException; 46 47 public String interceptCustomerId(String customerId) throws RemoteException; 48 49 public void testResource() throws Exception ; 50 51 public void remove(); 52 53 public String isInitialized(); 54 55 public String isActivated(); 56 57 public void testTransactionTimeout(); 58 59 public String getTransactionState(); 60 } 61 62 100 | Popular Tags |