Clearspace API (1.7.0) Core Javadocs

com.jivesoftware.community
Class StatusLevelManagerFactory

java.lang.Object
  extended by com.jivesoftware.community.StatusLevelManagerFactory

public final class StatusLevelManagerFactory
extends java.lang.Object

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 com.jivesoftware.community.cache.Cache statusLevelCache
           
static com.jivesoftware.community.cache.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(JiveContext jiveContext)
           
 
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

statusLevelCache

public static com.jivesoftware.community.cache.Cache statusLevelCache

statusLevelIDCache

public static com.jivesoftware.community.cache.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 JiveContext.

Returns:
a concrete implementation of status level manager.

initialize

public void initialize(JiveContext jiveContext)

destroy

public void destroy()

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

Clearspace Project Page

Copyright © 1999-2007 Jive Software.