diff --git a/core/deployment/src/main/java/io/quarkus/deployment/builditem/ConnectionFactoryWrapperBuildItem.java b/core/deployment/src/main/java/io/quarkus/deployment/builditem/ConnectionFactoryWrapperBuildItem.java new file mode 100644 index 0000000000000..8068315bedbd5 --- /dev/null +++ b/core/deployment/src/main/java/io/quarkus/deployment/builditem/ConnectionFactoryWrapperBuildItem.java @@ -0,0 +1,20 @@ +package io.quarkus.deployment.builditem; + +import java.util.function.Function; + +import io.quarkus.builder.item.SimpleBuildItem; + +/** + * A build item that can be used to wrap ConnectionFactory + */ +public final class ConnectionFactoryWrapperBuildItem extends SimpleBuildItem { + private final Function wrapper; + + public ConnectionFactoryWrapperBuildItem(Function wrapper) { + this.wrapper = wrapper; + } + + public Function getWrapper() { + return wrapper; + } +}