use of org.apache.skywalking.apm.collector.storage.h2.base.dao.BatchH2DAO in project incubator-skywalking by apache.
the class StorageModuleH2Provider method prepare.
@Override
public void prepare(Properties config) throws ServiceNotProvidedException {
String url = config.getProperty(URL);
String userName = config.getProperty(USER_NAME);
String password = config.getProperty(PASSWORD);
h2Client = new H2Client(url, userName, password);
this.registerServiceImplementation(IBatchDAO.class, new BatchH2DAO(h2Client));
registerCacheDAO();
registerRegisterDAO();
registerPersistenceDAO();
registerUiDAO();
registerAlarmDAO();
}
Aggregations