我们主要与集成了jersey的Spring应用程序合作,我们可以为异常提供者和过滤器添加DF <- read.table(text = "0.1: 1251014
0.5: 1928695
0.8: 3467765
0.9: 4544843
0.95: 6515300
0.999: 11352784 ", sep = ":")
plot(V1 ~ V2, data = DF,
xlim = c(0, 1.2e7),ylim = c(0, 1))
fit <- nls(V1 ~ plnorm(V2, meanlog, sdlog), data = DF,
start = list(meanlog = 13, sdlog = 2), trace = TRUE, algorithm = "port",
lower = c(0, 0))
summary(fit)
curve(plnorm(x, coef(fit)[[1]], coef(fit)[[2]]), add = TRUE, col = "blue")
(作为@Provider
)
在使用Spring的初始化ContainerRequestFilter
时添加@Provider
会导致问题吗?还是会被忽略?
我在@PaulSamsotha的Spring with Jersey教程中没有找到任何AnnotationConfigWebApplicationContext
我了解@Provider的意思,当前我们不使用@Provider
标记扩展接口的实现,该扩展接口应在提供者扫描阶段由JAX-RS运行时发现。