HK2 是否支持 FieldInterceptor?

Does HK2 support FieldInterceptor?

我一直在挖掘,它看起来不支持在字段上进行 AOP。我查看了示例 here,但 InterceptionService 似乎不支持 FieldInterceptor。我正在寻找使用自定义字段注释进行一些简单的 bean 验证。

public Response createCustomer(@Validated final Customer customer) throws ProviderException {

}

HK2暂不支持Field拦截。如果您希望我们添加它,请 post 提出请求 here