1 29 30 package com.caucho.management.server; 31 32 import com.caucho.jmx.Description; 33 import com.caucho.jmx.Units; 34 35 public interface ArchiveDeployMXBean 36 extends DeployMXBean 37 { 38 @Description("The configured millisecond interval between checks for new archives") 39 @Units("milliseconds") 40 public long getDependencyCheckInterval(); 41 42 @Description("The configured directory where archive files are found") 43 public String getArchiveDirectory(); 44 45 @Description("The configured extension used to recognize archive files") 46 public String getExtension(); 47 48 @Description("The configured directory where archives should be expanded") 49 public String getExpandDirectory(); 50 51 @Description("The configured prefix to use for the subdirectory created in the expand directory") 52 public String getExpandPrefix(); 53 54 @Description("The configured suffix to use for the subdirectory created in the expand directory") 55 public String getExpandSuffix(); 56 57 @Description("Returns the location for deploying an archive with the specified name") 58 public String getArchivePath(@Description("The archive name, without a file extension") String name); 59 60 @Description("Returns the location of an expanded archive, or null if no archive with the passed name is deployed") 61 public String getExpandPath(@Description("The archive name, without a file extension") String name); 62 63 @Description("Start the resource associated with the archive") 64 public void start(@Description("The archive name, without a file extension") String name); 65 66 @Description("Stop the resource associated with the archive") 67 public void stop(@Description("The archive name, without a file extension") String name); 68 69 @Description("Stop the resource associated with the archive and delete the archive") 70 public void undeploy(@Description("The archive name, without a file extension") String name); 71 72 @Description("Returns a list of the current set of archive names") 73 public String [] getNames(); 74 75 @Description("Returns an exception for the named archive or null if there is no exception") 76 public Throwable getConfigException(@Description("The archive name, without a file extension") String name); 77 } 78 | Popular Tags |