Jive Forums API (5.5.20.2-oracle) Core Javadocs

com.jivesoftware.forum
Class StatusLevelManagerFactory

java.lang.Object
  extended by 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


Nested Class Summary
static class StatusLevelManagerFactory.StatusCalculatorPropertyListener
          Checks to see if the calculator implementation has changes and reinitializes it if it has been
 
Field Summary
static java.lang.String STATUS_LEVEL_BLOCK_GROUP_LEADERS
           
static java.lang.String STATUS_LEVEL_CALCULATOR_PROPERTY
           
static java.lang.String STATUS_LEVEL_ENABLE_PROPERTY
           
static java.lang.String STATUS_LEVEL_MANAGER_PROPERTY
           
static java.lang.String STATUS_LEVEL_PRELOAD
           
static com.jivesoftware.util.Cache statusLevelCache
           
static com.jivesoftware.util.Cache statusLevelIDCache
           
 
Method Summary
 void destroy()
           
static void doInitialize()
           
static StatusLevelCalculator getCalculator()
          Used to acquire the StatusLevelCalculator, this should only be called by implementations of StatusLevelManager that delegate to a StatusLevelCalculator
static StatusLevelManager getInstance()
          Returns a concrete instance of the StatusLevel interface.
 void initialize()
           
static boolean isStatusLevelsEnabled()
           
static void setStatusLevelsEnabled(boolean enabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.