public Application application() {
        synchronized (appLock) {
            return application;
        }
    }
@author Simon Thoresen Hult
@author bjorncs
jdisc_core/src/main/java/com/yahoo/jdisc/core/ApplicationLoader.java