|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.layout.UserLayoutStoreFactory
public final class UserLayoutStoreFactory
Produces and manages a static singleton instance of IUserLayoutStore.
The IUserLayoutStore
implementation that we use is that named by the
portal.properties property "org.jasig.portal.layout.UserLayoutStoreFactory.implementation".
In the case where that property is not set or the IUserLayoutStore it names cannot
be instantiated, we fall back on the AggregatedUserLayoutStore
as the default.
Prior to uPortal 2.5, this class existed in the package org.jasig.portal.
It has been moved to its present package to express that it is part of the
user layout infrastructure.
This class is final because it is not designed to be subclassed.
Field Summary | |
---|---|
private static java.lang.Class |
DEFAULT_LAYOUT_STORE
The default IUserLayoutStore implementation we will fall back upon in the case where our property is not set or we cannot instantiate the IUserLayoutStore named by our property. |
static java.lang.String |
LAYOUT_STORE_IMPL_PROPERTY
The name of the portal.properties property the value of which is the name of the IUserLayoutStore implementation we should use. |
private static org.apache.commons.logging.Log |
LOG
Commons Logging log instance. |
private static IUserLayoutStore |
userLayoutStoreImpl
Static singleton instance of userLayoutStoreImpl. |
Constructor Summary | |
---|---|
UserLayoutStoreFactory()
|
Method Summary | |
---|---|
static IUserLayoutStore |
getUserLayoutStoreImpl()
Returns the singleton IUserLayoutStore instance, which will be that specified in portal.properties, an instance of the default IUserLayoutStore, or null, in that order. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LAYOUT_STORE_IMPL_PROPERTY
private static final org.apache.commons.logging.Log LOG
private static IUserLayoutStore userLayoutStoreImpl
private static final java.lang.Class DEFAULT_LAYOUT_STORE
Constructor Detail |
---|
public UserLayoutStoreFactory()
Method Detail |
---|
public static IUserLayoutStore getUserLayoutStoreImpl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |