throw new RuntimeException(e1);
}
final MonitoringDataAccessQueue monitoringQueue = new MonitoringDataAccessQueue(new MonitoringDataAccesor(monitoringDataStorage),new MonitoringDataAdder(monitoringDataStorage));
final MonitoringDataCollector monitoringDataCollector = new MonitoringDataCollector(monitoringQueue);
MonitoringDependencyInjector monitoringDependencyInjector= new MonitoringDependencyInjector(dependyInjector, monitoringDataCollector);
BillAdapterImpl billAdapterImpl = new BillAdapterImpl(monitoringDataCollector);
billAdapterImpl.initWithEngine(new MonitoringAdapterProcessingEngine(billAdapterImpl,persistentengine,monitoringDataCollector));
dependyInjector.register("billAdapter", billAdapterImpl);
dependyInjector.register("auditTrail", auditTrail);