com.jivesoftware.forum
Class StatusLevelManagerFactory
java.lang.Object
com.jivesoftware.forum.StatusLevelManagerFactory
- All Implemented Interfaces:
- com.jivesoftware.base.JiveManager
public final class StatusLevelManagerFactory
- extends java.lang.Object
- implements com.jivesoftware.base.JiveManager
A factory that returns a concrete instance of StatusLevelManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATUS_LEVEL_ENABLE_PROPERTY
public static final java.lang.String STATUS_LEVEL_ENABLE_PROPERTY
- See Also:
- Constant Field Values
STATUS_LEVEL_MANAGER_PROPERTY
public static final java.lang.String STATUS_LEVEL_MANAGER_PROPERTY
- See Also:
- Constant Field Values
STATUS_LEVEL_CALCULATOR_PROPERTY
public static final java.lang.String STATUS_LEVEL_CALCULATOR_PROPERTY
- See Also:
- Constant Field Values
STATUS_LEVEL_BLOCK_GROUP_LEADERS
public static final java.lang.String STATUS_LEVEL_BLOCK_GROUP_LEADERS
- See Also:
- Constant Field Values
STATUS_LEVEL_PRELOAD
public static final java.lang.String STATUS_LEVEL_PRELOAD
- See Also:
- Constant Field Values
statusLevelCache
public static com.jivesoftware.util.Cache statusLevelCache
statusLevelIDCache
public static com.jivesoftware.util.Cache statusLevelIDCache
getInstance
public static StatusLevelManager getInstance()
- Returns a concrete instance of the
StatusLevel
interface.
Note: in general this method intended to be called only by the DbForumFactory.
- Returns:
- a concrete implementation of status level manager.
initialize
public void initialize()
- Specified by:
initialize
in interface com.jivesoftware.base.JiveManager
destroy
public void destroy()
- Specified by:
destroy
in interface com.jivesoftware.base.JiveManager
doInitialize
public static void doInitialize()
getCalculator
public static StatusLevelCalculator getCalculator()
- Used to acquire the StatusLevelCalculator, this should only be called by implementations
of
StatusLevelManager
that delegate to a StatusLevelCalculator
- Returns:
- An instance of status level calculator
setStatusLevelsEnabled
public static void setStatusLevelsEnabled(boolean enabled)
isStatusLevelsEnabled
public static boolean isStatusLevelsEnabled()
Copyright © 1999-2006 Jive Software.