1 25 26 28 package org.objectweb.jonas.jtests.beans.secured; 29 30 import java.util.Hashtable ; 31 import java.rmi.RemoteException ; 32 import javax.ejb.EJBObject ; 33 34 37 public interface Derived extends EJBObject { 38 39 public String getPrincipalName() throws RemoteException ; 40 public String getPrincipalNameOfAnotherBean() throws RemoteException ; 41 public boolean isCallerInRole(String role) throws RemoteException ; 42 public void simpleMethod() throws RemoteException ; 43 public void complexMethod(Hashtable h, Object [] o) throws RemoteException ; 44 public boolean callAnotherMethod() throws RemoteException ; 45 46 public void otherMethod() throws RemoteException ; 47 } 48 | Popular Tags |