public synchronized void install(final Object app) { if (app == null) { throw new NullPointerException(); } if (log.isLoggable(Level.FINE)) { log.fine("Attempting to install app: " + app); } if (getInstallStrategy().isAllowed(app)) { getContext().setAttribute(APP, app); } else { log.warning("Strategy denied install"); } }