OSGi 的 JAX-RS 白板的参考实现称为Aries JAX-RS 白板。
我的问题是,如何以及何时Whiteboard.class
调用 get 的工厂方法?
public static Whiteboard createWhiteboard(
Dictionary<String, ?> configuration) {
return new Whiteboard(configuration);
}
例如,如果我将 jar 放入 Apache Felix 实例中?
我在整个项目中搜索了该createWhiteboard
符号,但没有找到任何调用它的东西。我知道是 OSGi Runtime 做到了这一点,但是如何,在哪里?