问题
We are working mainly with Spring application integrating jersey, we can add @Provider
for Exception Providers and Filters (as ContainerRequestFilter
)
Can adding @Provider
cause problems while using Spring's initialization AnnotationConfigWebApplicationContext
or it will be simply ignored?
I didn't find any @Provider
in Spring with Jersey tutorial of @PaulSamsotha
I understand @Provider meaning, Currently we aren't using @Provider (and maybe have no reason to)
Marks an implementation of an extension interface that should be discoverable by JAX-RS runtime during a provider scanning phase.
Is @Provider
redundant when using Spring managed beans?
来源:https://stackoverflow.com/questions/54145845/adding-provider-when-using-spring-with-jersey