1 17 18 package org.apache.naming; 19 20 26 27 public interface NamingServiceMBean { 28 29 30 32 33 36 public static final String [] states = 37 {"Stopped", "Stopping", "Starting", "Started"}; 38 39 40 public static final int STOPPED = 0; 41 public static final int STOPPING = 1; 42 public static final int STARTING = 2; 43 public static final int STARTED = 3; 44 45 46 49 public static final String NAME = "Apache JNDI Naming Service"; 50 51 52 55 public static final String OBJECT_NAME = ":service=Naming"; 56 57 58 60 61 64 public String getName(); 65 66 67 70 public int getState(); 71 72 73 76 public String getStateString(); 77 78 79 82 public void start() 83 throws Exception ; 84 85 86 89 public void stop(); 90 91 92 95 public void destroy(); 96 97 98 } 99 | Popular Tags |