@Override public synchronized void start() throws Exception { eventBus.registerHandler(created); eventBus.registerHandler(retrieved); eventBus.registerHandler(updated); eventBus.registerHandler(deleted); super.start(); logger.log(Level.INFO, "Logging CRUD events"); }
/** * Starts each service. * * @throws Exception */ public void start() throws Exception { for (Service service : this) { service.start(); } }