org.jasig.portal.services.stats
Class LegacyStatsRecorderFactory
java.lang.Object
org.jasig.portal.services.stats.LegacyStatsRecorderFactory
- All Implemented Interfaces:
- IStatsRecorderFactory
public final class LegacyStatsRecorderFactory
- extends java.lang.Object
- implements IStatsRecorderFactory
Emulates the uPortal 2.5.0 and earlier implementation of StatsRecorder
discovery and configuration by means of portal.properties-declared
IStatsRecorderFactory.
WARNING: Do NOT declare this factory as the stats recorder factory in
portal.properties. This is the implementation of getting the IStatsRecorder
produced by the factory declared in portal.properties. If you declare this factory
there, then you would be instructing this factory to instantiate itself. This
implementation will detect the case where the property defines this factory
and avoid infinite recursion by falling back on the DoNothingStatsRecorder.
- Since:
- uPortal 2.5.1
- Version:
- $Revision: 1.1.2.2 $ $Date: 2005/09/14 20:22:26 $
Field Summary |
private org.apache.commons.logging.Log |
log
|
static java.lang.String |
STATS_RECORDER_FACTORY_CLASS_NAME_PROPERTY
The name of the PropertiesManager managed property the value of which will
be the name of the class implementing IStatsRecorderFactory that we should
instantiate and use to get the desired IStatsRecorder. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private final org.apache.commons.logging.Log log
STATS_RECORDER_FACTORY_CLASS_NAME_PROPERTY
public static final java.lang.String STATS_RECORDER_FACTORY_CLASS_NAME_PROPERTY
- The name of the PropertiesManager managed property the value of which will
be the name of the class implementing IStatsRecorderFactory that we should
instantiate and use to get the desired IStatsRecorder.
- See Also:
- Constant Field Values
LegacyStatsRecorderFactory
public LegacyStatsRecorderFactory()
getStatsRecorder
public IStatsRecorder getStatsRecorder()
- Description copied from interface:
IStatsRecorderFactory
- Obtains the IStatsRecorderImplementation
- Specified by:
getStatsRecorder
in interface IStatsRecorderFactory
- Returns:
- statsRecorder, the IStatsRecorder implementation