|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.PortletPreferencesStoreFactory
public final class PortletPreferencesStoreFactory
Instantiates and maintains a static singleton instance of IPortletPreferencesStore as specified by the "org.jasig.portal.PortletPreferencesStoreFactory.implementation" property in portal.properties . This class is final because it is not designed to be extended. If you need a Portlet Preference Store factory that implements some other strategy for creating and managing a PortletPreferencesStore instance, then you'll need to write a new class.
| Field Summary | |
|---|---|
(package private) static java.lang.Class |
DEFAULT_PREF_STORE_CLASS
The default IPortletPreferencesStore implementation we will use. |
private static org.apache.commons.logging.Log |
LOG
Commons logging logger. |
static java.lang.String |
PORTLET_PREF_STORE_PROPERTY
The name of the portal.properties property the value of which will be the fully qualified class name of the implementation of IPortletPreferencesStore that we should use. |
private static IPortletPreferencesStore |
portletPreferencesStoreImpl
Static singleton IPortletPreferencesStore instance that we're managing. |
| Constructor Summary | |
|---|---|
PortletPreferencesStoreFactory()
|
|
| Method Summary | |
|---|---|
static IPortletPreferencesStore |
getPortletPreferencesStoreImpl()
Returns the singleton instance of IPortletPreferencesStore specified in portal.properties, or the default implementation, or null. |
(package private) static void |
reset()
Resets our static singleton to null, thereby resetting our state and making the next invocation of our getter method try to instantiate an IPortletPreferencesStore anew. |
| 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 PORTLET_PREF_STORE_PROPERTY
private static final org.apache.commons.logging.Log LOG
private static IPortletPreferencesStore portletPreferencesStoreImpl
static final java.lang.Class DEFAULT_PREF_STORE_CLASS
| Constructor Detail |
|---|
public PortletPreferencesStoreFactory()
| Method Detail |
|---|
public static IPortletPreferencesStore getPortletPreferencesStoreImpl()
static void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||