/** * Creates a new {@link TaskParentInterfaceImpl} object.</b> It initializes the {@link * IDataAccessProvider}</b> Moreover all timers are reactivated (e.g. suspend until timer, * expiration timer). See {@link TaskInstanceTimers} for more information. */ public TaskParentInterfaceImpl() { // this.dataAccessProvider = IDataAccessProvider.Factory.newInstance(); this.evenHandler = EventHandler.newInstance(); /* * Reactivate all task instance timers (e.g. suspend until timer, * expiration timer) i.e. schedule the execution of certain actions * until their timer has expired. */ TaskInstanceTimers.reactivateTimers(); }
@Before public void init() throws HumanTaskManagerException, FileNotFoundException, SQLException, IOException { /* Create test task models, logical people groups, user etc. */ super.init(); eventhandler = EventHandler.newInstance(); /* Init the event subscriber that is used in the test cases */ eventSubscriber = new EventSubscriber(); /* The task client interface is also required in the test cases */ // TaskClientInterface = new TaskClientInterfaceImpl(); }