/** Creates new form LiveEmergencyReport */ public LiveEmergencyReport(String emergencyId) throws IOException { persistenceService = PersistenceServiceProvider.getPersistenceService(); trackingService = ContextTrackingProvider.getTrackingService(); this.emergencyId = emergencyId; this.emergency = persistenceService.loadEmergency(emergencyId); initComponents(); configure(); }
@Before public void setUp() throws Exception { persistenceService = PersistenceServiceProvider.getPersistenceService(); trackingService = ContextTrackingProvider.getTrackingService(); HumanTaskServerService.getInstance().initTaskServer(); MessageServerSingleton.getInstance().start(); consumer = MessageFactory.createMessageConsumer("IncomingCall"); this.coreServicesMap = new HashMap(); createRemoteNode(); client = HumanTaskServerService.getInstance().initTaskClient(); }