1 29 30 package com.caucho.management.server; 31 32 import com.caucho.jmx.Description; 33 import com.caucho.jmx.Units; 34 35 import java.util.Date ; 36 37 40 public interface DeployControllerMXBean extends ManagedObjectMXBean 41 { 42 46 49 @Description("The configured startup-mode, one of `default', `automatic', `lazy', or `manual'") 50 public String getStartupMode(); 51 52 55 @Description("The configured redeploy-mode, one of `default', `automatic', `lazy', or `manual'") 56 public String getRedeployMode(); 57 58 61 @Description("The configured millisecond interval between checks for the need to redeploy") 62 @Units("milliseconds") 63 public long getRedeployCheckInterval(); 64 65 69 72 @Description("The current lifecycle state") 73 public String getState(); 74 75 78 @Description("The current time of the last start") 79 public Date getStartTime(); 80 81 85 88 @Description("Start") 89 public void start() 90 throws Exception ; 91 92 95 @Description("Stop") 96 public void stop() 97 throws Exception ; 98 99 102 @Description("Restart (Stop then Start)") 103 public void restart() 104 throws Exception ; 105 106 109 @Description("Update") 110 public void update() 111 throws Exception ; 112 } 113 | Popular Tags |