Jersey custom method parameter injection with inbuild injection
问题 Hello I am building an application using dropwizard, that is using jersey 2.16 internally as REST API framework. For the whole application on all resource methods I need some information so to parse that information I defined a custom filter like below @java.lang.annotation.Target(ElementType.PARAMETER) @java.lang.annotation.Retention(RetentionPolicy.RUNTIME) public @interface TenantParam { } The tenant factory is defined below public class TenantFactory implements Factory<Tenant> { private