Pax Coin - Resource Scanners
Persistent identifier
The persistent identifier for the configuration will be determined as follow:
- if configuration file name does not contain "$", persistent identifier will be equal with file name without the extension. This type of configuration file is considered to target a ManagedService.
Example: for a file named "foo.properties" the persistent identifier will be "foo". - if configuration file name contains "$", persistent identifier will be equal with file name without extension and "$" replaced with "-", and factory persistent identifier will be equal with the left side of "$". This type of configuration is considered to target a ManagedServiceFactory.
Example: for a file named "foo$bar.properties" the persistent identifier will be "foo-bar" and factory persistent identifier will be "foo".
File formats
This provider supports two file formats:
- Files with a ".properties" extension will be loaded using Properties Loader
- Files with a ".xml" extension will be loaded using Apache Commons Configuration