Wicket1.3のWicketTester

Wicket1.3になってWicketTesterはApplicationを継承しなくなったので、SeasarにS2WicketのSeasarComponentInjectionListenerの登録を任せる場合は、

<component name="wicketTester" class="org.apache.wicket.util.tester.WicketTester">
  <initMethod>
    #self.getApplication().addComponentInstantiationListener(new org.seasar.wicket.injection.SeasarComponentInjectionListener(#self.getApplication()))
  </initMethod>
</component>

こんな感じ。