Public Member Functions | |
String | getPropFile () |
Properties | getEnv () |
Properties | getConfigFileEnv () |
String | getConfigFileXml () |
String | getValue (String key, String defaultVal) |
String | getValue (String key) |
boolean | getValueAsBoolean (String key, boolean def) |
String[] | getValueAsArray (String key) |
String | toString () |
void | env2Ctx (Context ctx) throws Exception |
Static Public Member Functions | |
JProp | getInstance () throws Exception |
JProp | getInstance (String fileName) throws Exception |
JProp | getInstance (String fileName, Properties props) throws Exception |
String | getInstallRoot () |
String | getJonasBase () |
String | getWorkDir () |
void | main (String args[]) |
Static Public Attributes | |
final String | JONASPREFIX = "jonas" |
final String | DOMAIN_NAME = "domain.name" |
final String | JONAS_NAME = "jonas.name" |
final String | JONAS_DEF_NAME = "jonas" |
Adriana Danes
Florent Benoit
getFilesEnv
to getConfigFileEnv
Definition at line 69 of file JProp.java.
|
Bind all the properties found in file properties in a naming context the naming context must be allocated by the caller
Definition at line 544 of file JProp.java. |
|
Returns JOnAS environment as configured with files properties only.
Definition at line 445 of file JProp.java. Referenced by org.objectweb.jonas.mail.MailServiceImpl.doStart(), org.objectweb.jonas.jaxr.JAXRServiceImpl.doStart(), org.objectweb.jonas.dbm.DataBaseServiceImpl.doStart(), and org.objectweb.jonas.server.Server.start(). |
|
Returns xml content of the resource file
Definition at line 454 of file JProp.java. |
|
Returns JOnAS environment as configured with configuration file properties content and system properties.
Definition at line 435 of file JProp.java. Referenced by org.objectweb.jonas.service.ServiceManager.createServiceContextFor(). |
|
Static method which return the JOnAS install root value.
Definition at line 397 of file JProp.java. |
|
Get one of the multiple instances corresponding to a given resource. Create it at first call with a given configuration file name
Definition at line 229 of file JProp.java. |
|
Get one of the multiple instances corresponding to a given resource. Create it at first call with a given configuration file name
Definition at line 214 of file JProp.java. |
|
Get the unique instance corresponding to the JOnAS server. Create it at first call.
Definition at line 200 of file JProp.java. Referenced by org.objectweb.jonas.ws.AbsWebServicesServiceImpl.doInit(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.doInit(), org.objectweb.jonas.ws.JServiceFactoryFinder.getJOnASServiceFactory(), and org.objectweb.jonas.common.JProp.main(). |
|
Static method which return the jonas.base property
Definition at line 409 of file JProp.java. |
|
Returns properties filename
Definition at line 426 of file JProp.java. |
|
Returns the value of the related property. The method returns null if the property is not found.
Definition at line 475 of file JProp.java. |
|
Returns the value of the related property. With default values.
Definition at line 464 of file JProp.java. Referenced by org.objectweb.jonas_ejb.container.JContainer.addBean(), org.objectweb.jonas.service.ServiceManager.createServiceContextFor(), org.objectweb.jonas.service.ServiceManager.createServiceFrom(), org.objectweb.jonas.web.AbsJWebContainerServiceImpl.doInit(), org.objectweb.jonas.ws.JServiceFactoryFinder.getJOnASServiceFactory(), org.objectweb.jonas.common.JProp.getValueAsArray(), org.objectweb.jonas.common.JProp.getValueAsBoolean(), org.objectweb.jonas.service.AbsServiceImpl.init(), org.objectweb.jonas.server.Server.initCarol(), org.objectweb.jonas.server.JavaVm.JavaVm(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.refreshJonas(), and org.objectweb.jonas.server.Server.start(). |
|
Returns the value of the related property as String []. The method returns null if the property is not found.
Definition at line 505 of file JProp.java. References org.objectweb.jonas.common.JProp.getValue(). Referenced by org.objectweb.jonas.ws.AbsWebServicesServiceImpl.doInit(), and org.objectweb.jonas.service.ServiceManager.getServiceNames(). |
Here is the call graph for this function:
|
Returns the value of the related property as boolean.
Definition at line 490 of file JProp.java. References org.objectweb.jonas.common.JProp.getValue(). |
Here is the call graph for this function:
|
Static method which return the working directory in jonas.base
Definition at line 417 of file JProp.java. |
|
Displays the JOnAS properties values, as they are set by the different property files.
Definition at line 558 of file JProp.java. References org.objectweb.jonas.common.JProp.configFileEnv, and org.objectweb.jonas.common.JProp.getInstance(). |
Here is the call graph for this function:
|
String representation of the object for trace purpose
Definition at line 524 of file JProp.java. References org.objectweb.jonas.common.JProp.configFileEnv. Referenced by org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.toString(). |
|
Domain name Definition at line 79 of file JProp.java. |
|
Default server name Definition at line 89 of file JProp.java. Referenced by org.objectweb.jonas.service.AbsServiceImpl.init(). |
|
JOnAS server name Definition at line 84 of file JProp.java. |
|
Prefix for jonas.properties file Definition at line 74 of file JProp.java. |