-
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.
Add CommandListener implementors to the mongoDB configuration.
- Loading branch information
jzuriaga
committed
Sep 23, 2020
1 parent
b7092f2
commit 3b26679
Showing
7 changed files
with
67 additions
and
46 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...ient/deployment/src/main/java/io/quarkus/mongodb/deployment/CommandListenerBuildItem.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.mongodb.deployment; | ||
|
||
import java.util.List; | ||
|
||
import io.quarkus.builder.item.SimpleBuildItem; | ||
|
||
public final class CommandListenerBuildItem extends SimpleBuildItem { | ||
|
||
private List<String> commandListenerClassNames; | ||
|
||
public CommandListenerBuildItem(List<String> commandListenerClassNames) { | ||
this.commandListenerClassNames = commandListenerClassNames; | ||
} | ||
|
||
public List<String> getCommandListenerClassNames() { | ||
return commandListenerClassNames; | ||
} | ||
} |
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
15 changes: 8 additions & 7 deletions
15
...sions/mongodb-client/deployment/src/test/java/io/quarkus/mongodb/MockCommandListener.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
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