You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2022. It is now read-only.
在DynamicFeature接口实现类加上@Provider注解 ,但启动时未调用DynamicFeature接口的configure方法。 @Provider
@ConstrainedTo(RuntimeType.SERVER)
public class ApiMetricsFeature implements DynamicFeature
Your question
在DynamicFeature接口实现类加上@Provider注解 ,但启动时未调用DynamicFeature接口的configure方法。
@Provider
@ConstrainedTo(RuntimeType.SERVER)
public class ApiMetricsFeature implements DynamicFeature
在DynamicFeature实现类初始化之后, 实现InitializingBean接口,在afterPropertiesSet调用JAXRSProviderManager.registerCustomProviderInstance(this)也未触发调用configure
单步跟DynamicFeature实现类初始化在registerProvider之后才调用到,系统已经初始化完Provider,此时再registerCustomProviderInstance实际并没有效果,求解
Environment
java -version
):1.8The text was updated successfully, but these errors were encountered: