1 22 package org.jboss.system.server; 23 24 import java.io.File ; 25 import java.net.URL ; 26 27 37 public interface ServerConfig 38 { 39 40 41 String DEFAULT_PARITION_NAME = "DefaultPartition"; 42 43 44 String PARTITION_NAME_PROPERTY = "jboss.partition.name"; 45 46 47 String PARTITION_UDP_PROPERTY = "jboss.partition.udpGroup"; 48 49 50 String NATIVE_LOAD_PROPERTY = "jboss.native.load"; 51 52 53 String NATIVE_DIR_PROPERTY = "jboss.native.dir"; 54 55 59 66 String BOOT_LIBRARY_LIST = "jboss.boot.library.list"; 67 68 72 String SERVER_TYPE = "jboss.server.type"; 73 74 81 String ROOT_DEPLOYMENT_FILENAME = "jboss.server.root.deployment.filename"; 82 83 84 88 92 String HOME_DIR = "jboss.home.dir"; 93 94 100 String HOME_URL = "jboss.home.url"; 101 102 109 String LIBRARY_URL = "jboss.lib.url"; 110 111 121 String PATCH_URL = "jboss.patch.url"; 122 123 130 String SERVER_NAME = "jboss.server.name"; 131 132 139 String SERVER_BASE_DIR = "jboss.server.base.dir"; 140 141 147 String SERVER_HOME_DIR = "jboss.server.home.dir"; 148 149 155 String SERVER_LOG_DIR = "jboss.server.log.dir"; 156 157 164 String SERVER_TEMP_DIR = "jboss.server.temp.dir"; 165 166 173 String SERVER_DATA_DIR = "jboss.server.data.dir"; 174 175 182 String SERVER_BASE_URL = "jboss.server.base.url"; 183 184 190 String SERVER_HOME_URL = "jboss.server.home.url"; 191 192 198 String SERVER_CONFIG_URL = "jboss.server.config.url"; 199 200 207 String SERVER_LIBRARY_URL = "jboss.server.lib.url"; 208 209 214 String SERVER_BIND_ADDRESS = "jboss.bind.address"; 215 216 223 String EXIT_ON_SHUTDOWN = "jboss.server.exitonshutdown"; 224 225 232 String BLOCKING_SHUTDOWN = "jboss.server.blockingshutdown"; 233 234 241 String REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY = "jboss.server.requirejbossurlstreamhandlerfactory"; 242 243 250 String PLATFORM_MBEANSERVER = "jboss.platform.mbeanserver"; 251 252 256 260 String LIBRARY_URL_SUFFIX = "lib/"; 261 262 265 String SERVER_CONFIG_URL_SUFFIX = "conf/"; 266 267 270 String SERVER_BASE_DIR_SUFFIX = "server"; 271 272 275 String SERVER_BASE_URL_SUFFIX = "server/"; 276 277 280 String SERVER_DATA_DIR_SUFFIX = "data"; 281 282 285 String SERVER_LOG_DIR_SUFFIX = "log"; 286 287 290 String SERVER_TEMP_DIR_SUFFIX = "tmp"; 291 292 293 297 298 String DEFAULT_SERVER_NAME = "default"; 299 300 301 boolean DEFAULT_EXIT_ON_SHUTDOWN = true; 302 303 304 boolean DEFAULT_BLOCKING_SHUTDOWN = false; 305 306 307 boolean DEFAULT_REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY = true; 308 309 310 boolean DEFAULT_PLATFORM_MBEANSERVER = false; 311 312 313 String DEFAULT_ROOT_DEPLOYMENT_FILENAME = "jboss-service.xml"; 314 315 316 320 325 File getHomeDir(); 326 327 332 URL getHomeURL(); 333 334 339 URL getLibraryURL(); 340 341 346 URL getPatchURL(); 347 348 353 String getServerName(); 354 355 360 File getServerBaseDir(); 361 362 367 File getServerHomeDir(); 368 369 374 File getServerLogDir(); 375 376 381 File getServerTempDir(); 382 383 388 File getServerDataDir(); 389 390 395 URL getServerBaseURL(); 396 397 402 URL getServerHomeURL(); 403 404 409 URL getServerLibraryURL(); 410 411 416 URL getServerConfigURL(); 417 418 426 boolean getPlatformMBeanServer(); 427 428 435 void setExitOnShutdown(boolean flag); 436 437 442 boolean getExitOnShutdown(); 443 444 445 449 boolean getBlockingShutdown(); 450 451 455 void setBlockingShutdown(boolean blockingShutdown); 456 457 461 boolean getRequireJBossURLStreamHandlerFactory(); 462 463 467 void setRequireJBossURLStreamHandlerFactory(boolean requireJBossURLStreamHandlerFactory); 468 469 475 void setRootDeploymentFilename(String filename); 476 477 483 String getRootDeploymentFilename(); 484 485 490 public File getServerNativeDir(); 491 492 497 public File getServerTempDeployDir(); 498 } 499 | Popular Tags |