Search in sources :

Example 1 with DataFabricFacadeFactory

use of co.cask.cdap.internal.app.runtime.DataFabricFacadeFactory in project cdap by caskdata.

the class DataFabricFacadeModule method configure.

@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);
}
Also used : DataFabricFacadeFactory(co.cask.cdap.internal.app.runtime.DataFabricFacadeFactory) FactoryModuleBuilder(com.google.inject.assistedinject.FactoryModuleBuilder)

Aggregations

DataFabricFacadeFactory (co.cask.cdap.internal.app.runtime.DataFabricFacadeFactory)1 FactoryModuleBuilder (com.google.inject.assistedinject.FactoryModuleBuilder)1