Skip to content

Commit

Permalink
Add example to register a configuration module.
Browse files Browse the repository at this point in the history
Signed-off-by: Achim Kraus <[email protected]>
  • Loading branch information
boaks committed Jun 16, 2023
1 parent 42d88b8 commit f8cf7ab
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,22 @@
* order to ensure, that the modules are register in a early stage, a
* application should call e.g. {@link SystemConfig#register()} of the used
* modules at the begin. See {@link SystemConfig} as example.
*
* <pre>
* <code>
* ...
* static {
* SystemmConfig.register();
* CoapConfig.register();
* }
* ...
* public static void main(String[] args) {
* Configuration.getStandard();
* ...
* }
* </code>
* </pre>
*
* <p>
* Alternatively
* {@link Configuration#Configuration(ModuleDefinitionsProvider...)} may be used
Expand Down

0 comments on commit f8cf7ab

Please sign in to comment.