T2がシンプルでいい感じなのでちょこちょこ触ってて、T2単体でできることを知りたいのでDIコンテナなしで使ってるんだけど、プラグインの使い方がよくわからん。
T2Filterのソースみると
PluginProcessor pluginProcessor = new PluginProcessorImpl(webConfig.getContainerAdapter());
pluginProcessor.invokeInit(webConfig.getServletContext(), webConfig.getWebApplication());
ってなってて、PluginProcessorImplで
protected <T> T invoke0(T org, Invoker<T> invoker) { if (containerAdapter.hasComponent(Plugin.class) == false) { return org; }
ってやってるからコンテナからプラグインを取得してるのはわかるけど、DIコンテナなしのSimpleContainerAdapterだとプラグインは使えないのかなー。