1 28 29 30 package com.caucho.management.j2ee; 31 32 46 public interface StateManageable { 47 public static final int STARTING = 0; 48 public static final int RUNNING = 1; 49 public static final int STOPPING = 2; 50 public static final int STOPPED = 3; 51 public static final int FAILED = 4; 52 53 57 public long getStartTime(); 58 59 63 public int getState(); 64 65 78 public void start(); 79 80 84 public void startRecursive(); 85 86 96 public void stop(); 97 98 } 99 | Popular Tags |