Skip to content

Commit

Permalink
Enable the registration of @LoggingFilter classes via CDI
Browse files Browse the repository at this point in the history
This allows for users to configure their filters
via the usual Quarkus configuration approach.

Follows up on: quarkusio#27864
  • Loading branch information
geoand authored and javaduke committed Sep 14, 2022
1 parent 73b8dd3 commit 03756fb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.Collection;
import java.util.List;

import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
import org.jboss.jandex.ClassInfo;
import org.jboss.jandex.DotName;

Expand Down Expand Up @@ -49,8 +50,8 @@ void cacheLoaders(CombinedIndexBuildItem combinedIndex, BuildProducer<Reflective
NativeImageFeatureBuildItem nativeImageFeature() {
return new NativeImageFeatureBuildItem(CacheConstructorsFeature.class);
}
@BuildStep

@BuildStep
void loadDefaultJCacheConfiguration(BuildProducer<NativeImageResourceBuildItem> resource) {
resource.produce(new NativeImageResourceBuildItem("reference.conf"));
}
Expand Down

0 comments on commit 03756fb

Please sign in to comment.