use of org.picocontainer.injectors.ConstructorInjection in project jbehave-core by jbehave.
the class CoreStoriesUsingPico method createPicoContainer.
private PicoContainer createPicoContainer() {
MutablePicoContainer container = new DefaultPicoContainer(new Caching().wrap(new ConstructorInjection()));
container.addComponent(TradingService.class);
container.addComponent(TraderSteps.class);
container.addComponent(BeforeAfterSteps.class);
container.addComponent(AndSteps.class);
container.addComponent(CalendarSteps.class);
container.addComponent(PendingSteps.class);
container.addComponent(PriorityMatchingSteps.class);
container.addComponent(SandpitSteps.class);
container.addComponent(SearchSteps.class);
return container;
}
Aggregations