use of com.github.noraui.cucumber.interceptor.StepInterceptor in project NoraUi by NoraUi.
the class NoraUiModule method configure.
/**
* {@inheritDoc}
*/
@Override
public void configure(Binder binder) {
logger.debug("NORAUI NoraUiModule configure");
binder.bindInterceptor(any(), annotatedWith(Conditioned.class), new ConditionedInterceptor());
binder.bindInterceptor(Matchers.subclassesOf(com.github.noraui.application.steps.Step.class).or(Matchers.subclassesOf(BrowserSteps.class)), any(), new StepInterceptor());
logger.debug("NORAUI service binding");
binder.bind(ScreenService.class).to(ScreenServiceImpl.class).asEagerSingleton();
binder.bind(UserNameService.class).to(UserNameServiceImpl.class).asEagerSingleton();
}
Aggregations