1 22 package org.jboss.test.securitymgr.interfaces; 23 24 import java.io.IOException ; 25 import java.rmi.RemoteException ; 26 import javax.ejb.EJBObject ; 27 28 32 public interface IOSession extends EJBObject 33 { 34 public String read(String path) throws IOException , RemoteException ; 35 public void write(String path) throws IOException , RemoteException ; 36 public void listen(int port) throws IOException , RemoteException ; 37 public void connect(String host, int port) throws IOException , RemoteException ; 38 public void createClassLoader() throws RemoteException ; 39 public void getContextClassLoader() throws RemoteException ; 40 public void setContextClassLoader() throws RemoteException ; 41 public void renameThread() throws RemoteException ; 42 public void createThread() throws RemoteException ; 43 public void useReflection() throws RemoteException ; 44 public void loadLibrary() throws RemoteException ; 45 public void createSecurityMgr() throws RemoteException ; 46 public void changeSystemOut() throws RemoteException ; 47 public void changeSystemErr() throws RemoteException ; 48 public void systemExit(int status) throws RemoteException ; 49 } 50 | Popular Tags |