forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
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 quarkusio#19443 from michalszynkiewicz/grpc-per-se…
…rvice-interceptors gRPC: support per service interceptors
- Loading branch information
Showing
20 changed files
with
567 additions
and
40 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
15 changes: 15 additions & 0 deletions
15
...oyment/src/main/java/io/quarkus/grpc/deployment/AdditionalGlobalInterceptorBuildItem.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,15 @@ | ||
package io.quarkus.grpc.deployment; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
public final class AdditionalGlobalInterceptorBuildItem extends MultiBuildItem { | ||
private final String interceptorClass; | ||
|
||
public AdditionalGlobalInterceptorBuildItem(String interceptorClass) { | ||
this.interceptorClass = interceptorClass; | ||
} | ||
|
||
public String interceptorClass() { | ||
return interceptorClass; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...grpc/deployment/src/main/java/io/quarkus/grpc/deployment/DelegatingGrpcBeanBuildItem.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,15 @@ | ||
package io.quarkus.grpc.deployment; | ||
|
||
import org.jboss.jandex.ClassInfo; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
final class DelegatingGrpcBeanBuildItem extends MultiBuildItem { | ||
final ClassInfo generatedBean; | ||
final ClassInfo userDefinedBean; | ||
|
||
DelegatingGrpcBeanBuildItem(ClassInfo generatedBean, ClassInfo userDefinedBean) { | ||
this.generatedBean = generatedBean; | ||
this.userDefinedBean = userDefinedBean; | ||
} | ||
} |
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.