/** * Starts the application, all the enabled associated services then the * inbound and outbound roots. */ @Override public synchronized void start() throws Exception { if (isStopped()) { if (isDebugging()) { getLogger().log( Level.INFO, "Starting " + getClass().getName() + " application in debug mode"); } else { getLogger().log(Level.INFO, "Starting " + getClass().getName() + " application"); } if (getHelper() != null) { getHelper().start(); } getServices().start(); if (getInboundRoot() != null) { getInboundRoot().start(); } if (getOutboundRoot() != null) { getOutboundRoot().start(); } // Must be invoked as a last step super.start(); } }
&& !Application.getCurrent().isDebugging()) {