1 8 9 package mx4j.tools.naming; 10 11 import java.rmi.NoSuchObjectException ; 12 import java.rmi.NotBoundException ; 13 import java.rmi.RemoteException ; 14 15 20 public interface NamingServiceMBean 21 { 22 28 public void setPort(int port); 29 30 35 public int getPort(); 36 37 42 public boolean isRunning(); 43 44 50 public void start() throws RemoteException ; 51 52 57 public void stop() throws NoSuchObjectException ; 58 59 64 public String [] list() throws RemoteException ; 65 66 71 public void unbind(String name) throws RemoteException , NotBoundException ; 72 } 73 | Popular Tags |