1 29 30 package com.caucho.management.server; 31 32 import com.caucho.jmx.Description; 33 34 public interface DeployMXBean 35 extends ManagedObjectMXBean 36 { 37 @Description("The configured redeploy-mode, one of `default', `automatic', `lazy', or `manual'") 38 public String getRedeployMode(); 39 40 @Description("The configured startup-mode, one of `default', `automatic', `lazy', or `manual'") 41 public String getStartupMode(); 42 43 @Description("True if there are modifications that have not been updated") 44 public boolean isModified(); 45 46 @Description("The current lifecycle state") 47 public String getState(); 48 49 @Description("Start") 50 public void start(); 51 52 @Description("Stop") 53 public void stop(); 54 55 @Description("Update") 56 public void update(); 57 58 @Description("Returns an exception or null if there is no exception") 59 public Throwable getConfigException(); 60 } 61 | Popular Tags |