1 23 24 29 30 package com.sun.appserv.management.j2ee; 31 32 public interface StateManageable 33 { 34 40 public static final int STATE_STARTING = 0; 41 42 48 public static final int STATE_RUNNING = 1; 49 50 56 public static final int STATE_STOPPING = 2; 57 58 64 public static final int STATE_STOPPED = 3; 65 66 73 public static final int STATE_FAILED = 4; 74 75 88 public int getstate(); 89 90 98 public long getstartTime(); 99 100 108 public void start(); 109 110 124 public void startRecursive(); 125 126 136 public void stop(); 137 }; 138 | Popular Tags |