-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26264 from Ladicek/stereotype-improvements
Improve stereotypes support
- Loading branch information
Showing
18 changed files
with
607 additions
and
53 deletions.
There are no files selected for viewing
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
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
21 changes: 21 additions & 0 deletions
21
.../arc/deployment/src/main/java/io/quarkus/arc/deployment/StereotypeRegistrarBuildItem.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,21 @@ | ||
package io.quarkus.arc.deployment; | ||
|
||
import io.quarkus.arc.processor.StereotypeRegistrar; | ||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
/** | ||
* Makes it possible to register annotations that should be considered stereotypes but are not annotated with | ||
* {@code javax.enterprise.inject.Stereotype}. | ||
*/ | ||
public final class StereotypeRegistrarBuildItem extends MultiBuildItem { | ||
|
||
private final StereotypeRegistrar registrar; | ||
|
||
public StereotypeRegistrarBuildItem(StereotypeRegistrar registrar) { | ||
this.registrar = registrar; | ||
} | ||
|
||
public StereotypeRegistrar getStereotypeRegistrar() { | ||
return registrar; | ||
} | ||
} |
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.