1 22 package org.jboss.management.j2ee; 23 24 53 public interface StateManageable extends EventProvider 54 { 55 57 public static final int STARTING = 0; 58 public static final int RUNNING = 1; 59 public static final int STOPPING = 2; 60 public static final int STOPPED = 3; 61 public static final int FAILED = 4; 62 public static final int CREATED = 5; 63 public static final int DESTROYED = 6; 64 public static final int REGISTERED = 7; 65 public static final int UNREGISTERED = 8; 66 67 69 73 public long getStartTime(); 74 75 80 public int getState(); 81 82 87 public String getStateString(); 88 89 102 public void mejbStart(); 103 104 115 public void mejbStartRecursive(); 116 117 130 public void mejbStop(); 131 132 } 133 | Popular Tags |