* @param contextName The name of the application context {@link BeanFactory} to return.
* @return The (singleton) {@link BeanFactory} for the application context.
*/
public static BeanFactory getApplicationContext(final String contextName) {
final BeanFactoryLocator locator = SingletonBeanFactoryLocator.getInstance(BEAN_REF_FACTORY_PATH);
final BeanFactoryReference reference = locator.useBeanFactory(contextName);
return reference.getFactory();
}
/** ensure this class can't be instantiated */
private PortalApplicationContextFacade() { }