|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.spring.PortalApplicationContextFacade
public final class PortalApplicationContextFacade
Static bean factory locator service for the uPortal framework.
This class reads the 'properties/beanRefFactory.xml' file to use for
retrieving an application context's BeanFactory
. This allows
the factories to be used by any component of the uPortal framework in
a singleton manner.
Field Summary | |
---|---|
static java.lang.String |
BEAN_REF_FACTORY_PATH
Location this class uses to initialize the SingletonBeanFactoryLocator
used to marshall application contexts from. |
static java.lang.String |
PORTAL_CONTEXT_NAME
Name of the default portal application context. |
Constructor Summary | |
---|---|
private |
PortalApplicationContextFacade()
ensure this class can't be instantiated |
Method Summary | |
---|---|
static org.springframework.beans.factory.BeanFactory |
getApplicationContext(java.lang.String contextName)
Gets the BeanFactory for the specified application context. |
static org.springframework.beans.factory.BeanFactory |
getPortalApplicationContext()
Calls getApplicationContext(String) with
PORTAL_CONTEXT_NAME as the
argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String BEAN_REF_FACTORY_PATH
SingletonBeanFactoryLocator
used to marshall application contexts from.
public static java.lang.String PORTAL_CONTEXT_NAME
Constructor Detail |
---|
private PortalApplicationContextFacade()
Method Detail |
---|
public static org.springframework.beans.factory.BeanFactory getPortalApplicationContext()
getApplicationContext(String)
with
PORTAL_CONTEXT_NAME
as the
argument.
getApplicationContext(String)
public static org.springframework.beans.factory.BeanFactory getApplicationContext(java.lang.String contextName)
BeanFactory
for the specified application context.
contextName
- The name of the application context BeanFactory
to return.
BeanFactory
for the application context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |