9101112131415
*/ public class CommentParsingEmbedder extends BasicJapaEmbedder { @Override public InjectableStepsFactory stepsFactory() { return new InstanceStepsFactory(configuration(), new CommentParsingSteps()); }
161718192021222324
@Override public InjectableStepsFactory stepsFactory() { Map<String, Object> state = new HashMap<String, Object>(); return new InstanceStepsFactory(configuration(), new SharedSteps(state), new ManipulationSteps(state)); }
116117118119120121122123
} } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } return new InstanceStepsFactory(configuration(), obj) .createCandidateSteps(); }
113114115116117118119120121122
} } @Override public InjectableStepsFactory stepsFactory() { return new InstanceStepsFactory(configuration(), new SimpleExampleSteps(), new BookStoreSteps(), new TradingAppSteps()); }