@SuppressWarnings("unchecked") public static void bind(ServiceBinder binder) { binder.bind(PerTestDataStore.class, ThreadLocalPerTestDataStore.class).withMarker(Builtin.class); binder.bind(ObjectsForComponentsStore.class, SimpleObjectsForComponentsStore.class).scope(TestifyConstants.PERTEST); binder.bind(CookieSinkSource.class, TestifyCookieSinkSource.class).scope(TestifyConstants.PERTEST); }
public static void bind(ServiceBinder binder) { binder.bind(StringHolder.class, StringHolderImpl.class).eagerLoad().scope("magic").withId("SH").preventDecoration(); } }