Java Doc for ServerConfig.java in  » EJB-Server-JBoss-4.2.1 » system » org » jboss » system » server » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » system » org.jboss.system.server 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.system.server.ServerConfig

All known Subclasses:   org.jboss.system.server.ServerConfigImpl,
ServerConfig
public interface ServerConfig (Code)
The interface of the basic typed JBoss server configuration.

Clients should use ServerConfigLocator to get an instance of ServerConfig and then use it to get the server's configuration bits.
author:
   Jason Dillon
author:
   Scott.Stark@jboss.org
version:
   $Revision: 57205 $



Field Summary
 StringBLOCKING_SHUTDOWN
     Constant that holds the name of the environment property for specifying whether or not the server should shutdown synchronously (true) or asynchronously (false).
 StringBOOT_LIBRARY_LIST
     Constant that holds the name of the environment property for specifying a comma seperated list of the basenames of to the boot libraries required load the core system.
 booleanDEFAULT_BLOCKING_SHUTDOWN
     The default value for ServerConfig.BLOCKING_SHUTDOWN .
 booleanDEFAULT_EXIT_ON_SHUTDOWN
     The default value for ServerConfig.EXIT_ON_SHUTDOWN .
 StringDEFAULT_PARITION_NAME
    
 booleanDEFAULT_PLATFORM_MBEANSERVER
     The default value for ServerConfig.PLATFORM_MBEANSERVER .
 booleanDEFAULT_REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY
     The default value for ServerConfig.REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY .
 StringDEFAULT_ROOT_DEPLOYMENT_FILENAME
     The default value for ROOT_DEPLOYMENT_FILENAME .
 StringDEFAULT_SERVER_NAME
     The default value for ServerConfig.SERVER_NAME .
 StringEXIT_ON_SHUTDOWN
     Constant that holds the name of the environment property for specifying whether or not the server should exit the JVM on shutdown.
 StringHOME_DIR
     Constant that holds the name of the environment property for specifying the home directory for JBoss.
 StringHOME_URL
     Constant that holds the name of the environment property for specifying the home URL for JBoss.
 StringLIBRARY_URL
     Constant that holds the name of the environment property for specifying the URL where JBoss will read library files from.
 StringLIBRARY_URL_SUFFIX
     The suffix used when generating the default value for ServerConfig.LIBRARY_URL and ServerConfig.SERVER_LIBRARY_URL .
 StringNATIVE_DIR_PROPERTY
    
 StringNATIVE_LOAD_PROPERTY
    
 StringPARTITION_NAME_PROPERTY
    
 StringPARTITION_UDP_PROPERTY
    
 StringPATCH_URL
     Constant that holds the name of the environment property for specifying the URL where JBoss will read patch library files from.

If this value is a file URL, then all .zip and .jar files inside will be prepended to the classpath.

 StringPLATFORM_MBEANSERVER
    
 StringREQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY
     Constant that holds the name of the environment property for specifying whether or not the server should log and ignore exceptions when setting the URLStreamHandlerFactory.
 StringROOT_DEPLOYMENT_FILENAME
     Constant that holds the name of the environment property for specifying the root deployment filename (relative to the server config URL that will be deployed to finalize the boot strap process.
 StringSERVER_BASE_DIR
     Constant that holds the name of the environment property for specifying the base directory for calculating server home directories.
 StringSERVER_BASE_DIR_SUFFIX
     The suffix used when generating the default value for ServerConfig.SERVER_BASE_DIR .
 StringSERVER_BASE_URL
     Constant that holds the name of the environment property for specifying the base URL for calculating server home URLs.
 StringSERVER_BASE_URL_SUFFIX
     The suffix used when generating the default value for ServerConfig.SERVER_BASE_URL .
 StringSERVER_BIND_ADDRESS
    
 StringSERVER_CONFIG_URL
     Constant that holds the name of the environment property for specifying the server configuration URL.
 StringSERVER_CONFIG_URL_SUFFIX
     The suffix used when generating the default value for ServerConfig.SERVER_CONFIG_URL .
 StringSERVER_DATA_DIR
     Constant that holds the name of the environment property for specifying the directory which JBoss will use for persistent data file storage.
 StringSERVER_DATA_DIR_SUFFIX
     The suffix used when generating the default value for ServerConfig.SERVER_DATA_DIR .
 StringSERVER_HOME_DIR
     Constant that holds the name of the environment property for specifying the server home directory for JBoss.
 StringSERVER_HOME_URL
     Constant that holds the name of the environment property for specifying the server home URL for JBoss.
 StringSERVER_LIBRARY_URL
     Constant that holds the name of the environment property for specifying the URL where JBoss will read server specific library files from.
 StringSERVER_LOG_DIR
     Constant that holds the name of the environment property for specifying the server log directory for JBoss.
 StringSERVER_LOG_DIR_SUFFIX
     The suffix used when generating the default value for ServerConfig.SERVER_LOG_DIR .
 StringSERVER_NAME
     Constant that holds the name of the environment property for specifying the name of the server which will be used to calculate the servers home directory and url.
 StringSERVER_TEMP_DIR
     Constant that holds the name of the environment property for specifying the directory which JBoss will use for temporary file storage.
 StringSERVER_TEMP_DIR_SUFFIX
     The suffix used when generating the default value for ServerConfig.SERVER_TEMP_DIR .
 StringSERVER_TYPE
     Constant that holds the name of the environment property for specifying the class type of the server to create.


Method Summary
 booleangetBlockingShutdown()
     Get the BlockingShutdown value.
 booleangetExitOnShutdown()
     Get the current value of the exit on shutdown flag.
 FilegetHomeDir()
     Get the local home directory which the server is running from.
 URLgetHomeURL()
     Get the home URL which the server is running from.
 URLgetLibraryURL()
     Get the library URL for the server.
 URLgetPatchURL()
     Get the patch URL for the server.
 booleangetPlatformMBeanServer()
     Get the current value of the flag that indicates if we are using the platform MBeanServer as the main jboss server.
 booleangetRequireJBossURLStreamHandlerFactory()
     Get the RequireJBossURLStreamHandlerFactory value.
 StringgetRootDeploymentFilename()
     Get the filename of the root deployable that will be used to finalize the bootstrap process.
 FilegetServerBaseDir()
     Get the base directory for calculating server home directories.
 URLgetServerBaseURL()
     Get the base directory for calculating server home URLs.
 URLgetServerConfigURL()
     Get the server configuration URL.
 FilegetServerDataDir()
     Get the directory where local data will be stored.
 FilegetServerHomeDir()
     Get the server home directory.
 URLgetServerHomeURL()
     Get the server home URL.
 URLgetServerLibraryURL()
     Get the server library URL.
 FilegetServerLogDir()
     Get the directory where log files will be stored.
 StringgetServerName()
     Get the name of the server.
public  FilegetServerNativeDir()
    
public  FilegetServerTempDeployDir()
    
 FilegetServerTempDir()
     Get the directory where temporary files will be stored.
 voidsetBlockingShutdown(boolean blockingShutdown)
     Set the BlockingShutdown value.
 voidsetExitOnShutdown(boolean flag)
     Enable or disable exiting the JVM when Server.shutdown is called. If enabled, then shutdown calls Server.exit .
 voidsetRequireJBossURLStreamHandlerFactory(boolean requireJBossURLStreamHandlerFactory)
     Set the RequireJBossURLStreamHandlerFactory value.
 voidsetRootDeploymentFilename(String filename)
     Set the filename of the root deployable that will be used to finalize the bootstrap process.

Field Detail
BLOCKING_SHUTDOWN
String BLOCKING_SHUTDOWN(Code)
Constant that holds the name of the environment property for specifying whether or not the server should shutdown synchronously (true) or asynchronously (false).

If not set then the server will default to asynchronous shutdown.




BOOT_LIBRARY_LIST
String BOOT_LIBRARY_LIST(Code)
Constant that holds the name of the environment property for specifying a comma seperated list of the basenames of to the boot libraries required load the core system.

These libraries will be loaded from LIBRARY_URL.




DEFAULT_BLOCKING_SHUTDOWN
boolean DEFAULT_BLOCKING_SHUTDOWN(Code)
The default value for ServerConfig.BLOCKING_SHUTDOWN .



DEFAULT_EXIT_ON_SHUTDOWN
boolean DEFAULT_EXIT_ON_SHUTDOWN(Code)
The default value for ServerConfig.EXIT_ON_SHUTDOWN .



DEFAULT_PARITION_NAME
String DEFAULT_PARITION_NAME(Code)
The default partition name



DEFAULT_PLATFORM_MBEANSERVER
boolean DEFAULT_PLATFORM_MBEANSERVER(Code)
The default value for ServerConfig.PLATFORM_MBEANSERVER .



DEFAULT_REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY
boolean DEFAULT_REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY(Code)
The default value for ServerConfig.REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY .



DEFAULT_ROOT_DEPLOYMENT_FILENAME
String DEFAULT_ROOT_DEPLOYMENT_FILENAME(Code)
The default value for ROOT_DEPLOYMENT_FILENAME .



DEFAULT_SERVER_NAME
String DEFAULT_SERVER_NAME(Code)
The default value for ServerConfig.SERVER_NAME .



EXIT_ON_SHUTDOWN
String EXIT_ON_SHUTDOWN(Code)
Constant that holds the name of the environment property for specifying whether or not the server should exit the JVM on shutdown.

If not set then the server will default to exiting on shutdown.




HOME_DIR
String HOME_DIR(Code)
Constant that holds the name of the environment property for specifying the home directory for JBoss.



HOME_URL
String HOME_URL(Code)
Constant that holds the name of the environment property for specifying the home URL for JBoss.

If not set then the value of HOME_DIR will converted into a URL.




LIBRARY_URL
String LIBRARY_URL(Code)
Constant that holds the name of the environment property for specifying the URL where JBoss will read library files from.

Defaults to HOME_URL/lib/




LIBRARY_URL_SUFFIX
String LIBRARY_URL_SUFFIX(Code)
The suffix used when generating the default value for ServerConfig.LIBRARY_URL and ServerConfig.SERVER_LIBRARY_URL .



NATIVE_DIR_PROPERTY
String NATIVE_DIR_PROPERTY(Code)
The location of native libraries property



NATIVE_LOAD_PROPERTY
String NATIVE_LOAD_PROPERTY(Code)
Whether to load native libraries



PARTITION_NAME_PROPERTY
String PARTITION_NAME_PROPERTY(Code)
The partition name property



PARTITION_UDP_PROPERTY
String PARTITION_UDP_PROPERTY(Code)
The udp address property



PATCH_URL
String PATCH_URL(Code)
Constant that holds the name of the environment property for specifying the URL where JBoss will read patch library files from.

If this value is a file URL, then all .zip and .jar files inside will be prepended to the classpath. Otherwise the URL will be added to the classpath. If not set then the no patch files will be loaded.




PLATFORM_MBEANSERVER
String PLATFORM_MBEANSERVER(Code)
Constant that holds the name of the environment property for specifying whether or not to use as the main jboss server the MBeanServer returned from ManagementFactory.getPlatformMBeanServer(), when running under jdk1.5+

If not set then jboss will instantiate its own MBeanServer




REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY
String REQUIRE_JBOSS_URL_STREAM_HANDLER_FACTORY(Code)
Constant that holds the name of the environment property for specifying whether or not the server should log and ignore exceptions when setting the URLStreamHandlerFactory.

If not set then the server will default to asynchronous shutdown.




ROOT_DEPLOYMENT_FILENAME
String ROOT_DEPLOYMENT_FILENAME(Code)
Constant that holds the name of the environment property for specifying the root deployment filename (relative to the server config URL that will be deployed to finalize the boot strap process.

If not set then the server will default to ServerConfig.DEFAULT_ROOT_DEPLOYMENT_FILENAME .




SERVER_BASE_DIR
String SERVER_BASE_DIR(Code)
Constant that holds the name of the environment property for specifying the base directory for calculating server home directories.

Defaults to HOME_DIR/server.




SERVER_BASE_DIR_SUFFIX
String SERVER_BASE_DIR_SUFFIX(Code)
The suffix used when generating the default value for ServerConfig.SERVER_BASE_DIR .



SERVER_BASE_URL
String SERVER_BASE_URL(Code)
Constant that holds the name of the environment property for specifying the base URL for calculating server home URLs.

Defaults to HOME_URL/server.




SERVER_BASE_URL_SUFFIX
String SERVER_BASE_URL_SUFFIX(Code)
The suffix used when generating the default value for ServerConfig.SERVER_BASE_URL .



SERVER_BIND_ADDRESS
String SERVER_BIND_ADDRESS(Code)
Constant that holds the name of the environment property for specifying the bind address for all jboss services



SERVER_CONFIG_URL
String SERVER_CONFIG_URL(Code)
Constant that holds the name of the environment property for specifying the server configuration URL.

Defaults to SERVER_HOME_UTL/conf .




SERVER_CONFIG_URL_SUFFIX
String SERVER_CONFIG_URL_SUFFIX(Code)
The suffix used when generating the default value for ServerConfig.SERVER_CONFIG_URL .



SERVER_DATA_DIR
String SERVER_DATA_DIR(Code)
Constant that holds the name of the environment property for specifying the directory which JBoss will use for persistent data file storage.

Defaults to SERVER_HOME_DIR/data.




SERVER_DATA_DIR_SUFFIX
String SERVER_DATA_DIR_SUFFIX(Code)
The suffix used when generating the default value for ServerConfig.SERVER_DATA_DIR .



SERVER_HOME_DIR
String SERVER_HOME_DIR(Code)
Constant that holds the name of the environment property for specifying the server home directory for JBoss.

Defaults to SERVER_BASE_DIR/SERVER_NAME.




SERVER_HOME_URL
String SERVER_HOME_URL(Code)
Constant that holds the name of the environment property for specifying the server home URL for JBoss.

Defaults to SERVER_BASE_URL/SERVER_NAME.




SERVER_LIBRARY_URL
String SERVER_LIBRARY_URL(Code)
Constant that holds the name of the environment property for specifying the URL where JBoss will read server specific library files from.

Defaults to SERVER_HOME_URL/lib/




SERVER_LOG_DIR
String SERVER_LOG_DIR(Code)
Constant that holds the name of the environment property for specifying the server log directory for JBoss.

Defaults to SERVER_HOME_DIR/log.




SERVER_LOG_DIR_SUFFIX
String SERVER_LOG_DIR_SUFFIX(Code)
The suffix used when generating the default value for ServerConfig.SERVER_LOG_DIR .



SERVER_NAME
String SERVER_NAME(Code)
Constant that holds the name of the environment property for specifying the name of the server which will be used to calculate the servers home directory and url.

Defaults to default.




SERVER_TEMP_DIR
String SERVER_TEMP_DIR(Code)
Constant that holds the name of the environment property for specifying the directory which JBoss will use for temporary file storage.

Defaults to SERVER_HOME_DIR/tmp .




SERVER_TEMP_DIR_SUFFIX
String SERVER_TEMP_DIR_SUFFIX(Code)
The suffix used when generating the default value for ServerConfig.SERVER_TEMP_DIR .



SERVER_TYPE
String SERVER_TYPE(Code)
Constant that holds the name of the environment property for specifying the class type of the server to create.





Method Detail
getBlockingShutdown
boolean getBlockingShutdown()(Code)
Get the BlockingShutdown value. the BlockingShutdown value.



getExitOnShutdown
boolean getExitOnShutdown()(Code)
Get the current value of the exit on shutdown flag. The current value of the exit on shutdown flag.



getHomeDir
File getHomeDir()(Code)
Get the local home directory which the server is running from. The local server home directory.



getHomeURL
URL getHomeURL()(Code)
Get the home URL which the server is running from. The home URL which the server is running from.



getLibraryURL
URL getLibraryURL()(Code)
Get the library URL for the server. The library URL for the server.



getPatchURL
URL getPatchURL()(Code)
Get the patch URL for the server. The patch URL for the server.



getPlatformMBeanServer
boolean getPlatformMBeanServer()(Code)
Get the current value of the flag that indicates if we are using the platform MBeanServer as the main jboss server. Both the ServerConfig.PLATFORM_MBEANSERVER property must be set, and the jvm must be jdk1.5+ true if jboss runs on the jvm platfrom MBeanServer



getRequireJBossURLStreamHandlerFactory
boolean getRequireJBossURLStreamHandlerFactory()(Code)
Get the RequireJBossURLStreamHandlerFactory value. the RequireJBossURLStreamHandlerFactory value.



getRootDeploymentFilename
String getRootDeploymentFilename()(Code)
Get the filename of the root deployable that will be used to finalize the bootstrap process. The filename of the root deployable.



getServerBaseDir
File getServerBaseDir()(Code)
Get the base directory for calculating server home directories. Base server home directory.



getServerBaseURL
URL getServerBaseURL()(Code)
Get the base directory for calculating server home URLs. Base server home URL.



getServerConfigURL
URL getServerConfigURL()(Code)
Get the server configuration URL. Server configuration URL.



getServerDataDir
File getServerDataDir()(Code)
Get the directory where local data will be stored. The directory where the server stores local data.



getServerHomeDir
File getServerHomeDir()(Code)
Get the server home directory. Server home directory.



getServerHomeURL
URL getServerHomeURL()(Code)
Get the server home URL. Server home URL.



getServerLibraryURL
URL getServerLibraryURL()(Code)
Get the server library URL. Server library URL.



getServerLogDir
File getServerLogDir()(Code)
Get the directory where log files will be stored. The directory where the server writes log files.



getServerName
String getServerName()(Code)
Get the name of the server. The name of the server.



getServerNativeDir
public File getServerNativeDir()(Code)
Get the native dir for unpacking the directory



getServerTempDeployDir
public File getServerTempDeployDir()(Code)
Get the temporary deployment dir for unpacking the directory



getServerTempDir
File getServerTempDir()(Code)
Get the directory where temporary files will be stored. The directory where the server stores temporary files.



setBlockingShutdown
void setBlockingShutdown(boolean blockingShutdown)(Code)
Set the BlockingShutdown value.
Parameters:
  blockingShutdown - The new BlockingShutdown value.



setExitOnShutdown
void setExitOnShutdown(boolean flag)(Code)
Enable or disable exiting the JVM when Server.shutdown is called. If enabled, then shutdown calls Server.exit . If disabled, then only the shutdown hook will be run.
Parameters:
  flag - True to enable calling exit on shutdown.



setRequireJBossURLStreamHandlerFactory
void setRequireJBossURLStreamHandlerFactory(boolean requireJBossURLStreamHandlerFactory)(Code)
Set the RequireJBossURLStreamHandlerFactory value.
Parameters:
  requireJBossURLStreamHandlerFactory - The new RequireJBossURLStreamHandlerFactory value.



setRootDeploymentFilename
void setRootDeploymentFilename(String filename)(Code)
Set the filename of the root deployable that will be used to finalize the bootstrap process.
Parameters:
  filename - The filename of the root deployable.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.