File tree Expand file tree Collapse file tree 3 files changed +17
-7
lines changed
documentation/src/main/docs Expand file tree Collapse file tree 3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ image:https://img.shields.io/maven-central/v/io.smallrye.config/smallrye-config?
10
10
= SmallRye Config
11
11
12
12
*SmallRye Config* is a library that provides a way to configure applications, frameworks and containers. It is used
13
- in applications servers like https://wildfly.org/[WildFly] and https://openliberty.io[Open Liberty], or frameworks
14
- like https://quarkus.io[Quarkus]. It can also be used completely standalone in any Java application, which makes it a
15
- very flexible library.
13
+ in applications servers like https://wildfly.org/[WildFly], https://openliberty.io[Open Liberty] and
14
+ https://tomee.apache.org[TomEE], or frameworks like https://quarkus.io[Quarkus]. It can also be used completely
15
+ standalone in any Java application, which makes it a very flexible library.
16
16
17
17
It follows the https://github.com/eclipse/microprofile-config/[MicroProfile Config] specification to provide
18
18
the initial config foundations and expands with it own concepts to cover a wide range of use cases observed in the
Original file line number Diff line number Diff line change 7
7
# SmallRye Config
8
8
9
9
** SmallRye Config** is a library that provides a way to configure applications, frameworks and containers. It is used
10
- in applications servers like [ WildFly] ( https://wildfly.org/ ) and [ Open Liberty] ( https://openliberty.io ) , or frameworks
11
- like [ Quarkus] ( https://quarkus.io ) . It can also be used completely standalone in any Java application, which makes it a
12
- very flexible library.
10
+ in applications servers like [ WildFly] ( https://wildfly.org/ ) , [ Open Liberty] ( https://openliberty.io ) and
11
+ [ TomEE ] ( https://tomee.apache.org ) or frameworks like [ Quarkus] ( https://quarkus.io ) . It can also be used completely
12
+ standalone in any Java application, which makes it a very flexible library.
13
13
14
14
It follows the [ MicroProfile Config] ( https://github.com/eclipse/microprofile-config/ ) specification to provide
15
15
the initial config foundations and expands with it own concepts to cover a wide range of use cases observed in the
@@ -53,6 +53,17 @@ And retrieve a `SmallRyeConfig` instance with:
53
53
SmallRyeConfig config = ConfigProvider . getConfig(). unwrap(SmallRyeConfig . class);
54
54
```
55
55
56
+ !!! info
57
+
58
+ The `SmallRyeConfig` instance will be created and registered to the context class loader if no such configuration
59
+ is already created and registered.
60
+
61
+ Or build your own:
62
+
63
+ ``` java
64
+ SmallRyeConfig config = new SmallRyeConfigBuilder (). build();
65
+ ```
66
+
56
67
!!! info
57
68
58
69
`SmallRyeConfig` is the entry point to all the config capabilities provided by SmallRye Config.
Original file line number Diff line number Diff line change 35
35
<dependency >
36
36
<groupId >jakarta.annotation</groupId >
37
37
<artifactId >jakarta.annotation-api</artifactId >
38
- <scope >provided</scope >
39
38
</dependency >
40
39
<dependency >
41
40
<groupId >io.smallrye.common</groupId >
You can’t perform that action at this time.
0 commit comments