1 22 package org.jboss.system.server; 23 24 import java.io.File ; 25 import java.net.URL ; 26 27 import javax.management.ObjectName ; 28 29 import org.jboss.mx.util.ObjectNameFactory; 30 31 34 public interface ServerConfigImplMBean 35 { 36 37 static final ObjectName OBJECT_NAME = 38 ObjectNameFactory.create("jboss.system:type=ServerConfig"); 39 40 43 File getHomeDir(); 44 45 48 URL getHomeURL(); 49 50 53 URL getLibraryURL(); 54 55 58 URL getPatchURL(); 59 60 63 String getServerName(); 64 65 68 File getServerBaseDir(); 69 70 73 File getServerHomeDir(); 74 75 79 java.io.File getServerLogDir(); 80 81 84 File getServerTempDir(); 85 86 89 File getServerDataDir(); 90 91 94 URL getServerBaseURL(); 95 96 99 URL getServerHomeURL(); 100 101 104 URL getServerLibraryURL(); 105 106 109 URL getServerConfigURL(); 110 111 117 boolean getPlatformMBeanServer(); 118 119 125 void setExitOnShutdown(boolean flag); 126 127 131 boolean getExitOnShutdown(); 132 133 140 void setBlockingShutdown(boolean flag); 141 142 146 boolean getBlockingShutdown(); 147 148 154 void setRequireJBossURLStreamHandlerFactory(boolean flag); 155 156 160 boolean getRequireJBossURLStreamHandlerFactory(); 161 162 167 void setRootDeploymentFilename(String filename); 168 169 174 String getRootDeploymentFilename(); 175 176 181 File getServerNativeDir() ; 182 183 188 File getServerTempDeployDir() ; 189 190 } 191 | Popular Tags |