-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Register ConfigSources directly with the builder
- Loading branch information
Showing
39 changed files
with
668 additions
and
230 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...src/main/java/io/quarkus/deployment/builditem/StaticInitConfigSourceFactoryBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.quarkus.deployment.builditem; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
/** | ||
* Provides a way to register a ConfigSourceFactory in STATIC INIT. | ||
*/ | ||
public final class StaticInitConfigSourceFactoryBuildItem extends MultiBuildItem { | ||
private String factoryClassName; | ||
|
||
public StaticInitConfigSourceFactoryBuildItem(final String factoryClassName) { | ||
this.factoryClassName = factoryClassName; | ||
} | ||
|
||
public String getFactoryClassName() { | ||
return factoryClassName; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.