public ApplicationContext getApplicationContext() { this.lock.readLock().lock(); try { return ((ApplicationContextState) getState(true)).getApplicationContext(); } finally { this.lock.readLock().unlock(); } }
public ApplicationContext getApplicationContext() { this.lock.readLock().lock(); try { return ((ApplicationContextState) getState(true)).getApplicationContext(); } finally { this.lock.readLock().unlock(); } }
/** * Gets the application context. Will not start a subsystem. * * @return the application context or null */ public ApplicationContext getReadOnlyApplicationContext() { this.lock.readLock().lock(); try { return ((ApplicationContextState) getState(false)).getApplicationContext(); } finally { this.lock.readLock().unlock(); } }
if (false == isUpdateable(name) && ((ApplicationContextState) getState(false)).getApplicationContext(false) != null)
if (false == isUpdateable(name) && ((ApplicationContextState) getState(false)).getApplicationContext(false) != null)
/** * Gets the application context. Will not start a subsystem. * * @return the application context or null */ public ApplicationContext getReadOnlyApplicationContext() { this.lock.readLock().lock(); try { return ((ApplicationContextState) getState(false)).getApplicationContext(); } finally { this.lock.readLock().unlock(); } }
/** * Gets the application context. * * @return the application context */ public ApplicationContext getApplicationContext() { return getApplicationContext(true); }
/** * Gets the application context. * * @return the application context */ public ApplicationContext getApplicationContext() { return getApplicationContext(true); }