public LifecycleStoreCreator addDefaultStartDetector(int i) { TestLifecycleHandler h = new TestLifecycleHandler(DetectorType.START, i, false); StartDetector hh = createProxy(h, StartDetector.class); builder.setStartDetector(hh); addToMapping(DetectorType.START, h); return this; }