The Resource Provider bundle uses the following system properties:
System Property |
Default Value |
Description |
|---|---|---|
mbs.resprovider.debug |
false |
When true, the Resource Provider will use the OSGi Log Service for storing debug information during its runtime performance. |
mbs.resprovider.print |
false |
When true, all of the generated messages will be printed in the console. |
mbs.resprovider.info |
false |
When true, information messages are logged. An example of an info message is message showing what resources are added to the Resource Provider's store. |
mbs.resprovider.nowarnings |
false |
When true, no warning messages are logged. An example of a warning message is a message generated when a specified resource pattern is invalid. |
mbs.resprovider.noerrors |
false |
When true, no error messages are logged. An example of an error message is a message generated when a specified resource is missing or when the properties file can not be read. |
mbs.resprovider.internStrings |
false |
When true, the String.intern() method is called to the read property's keys and values. It reduces memory consumption. |
mbs.resprovider.cacheStrings |
false |
It is used only if the mbs.resprovider.internStrings system property is set to false. When the mbs.resprovider.cacheStrings property is true, the WeakHashMap implementation is used for caching of all keys and values of the properties files. Optimization is achieved when same keys and values are iterated. |