@Override protected void configure() { // Creates a DataFabricFacadeFactory injection for creating DataFabricFacade of different types. install( new FactoryModuleBuilder() .implement(DataFabricFacade.class, LineageWriterDataFabricFacade.class) .build(DataFabricFacadeFactory.class) ); expose(DataFabricFacadeFactory.class); } }
@Override protected void configure() { install(module); // Add bindings for Flow operations. install(new DataFabricFacadeModule()); bind(QueueReaderFactory.class).in(Scopes.SINGLETON); bind(QueueClientFactory.class).to(HBaseQueueClientFactory.class).in(Singleton.class); } };
install(new DataFabricFacadeModule());