Clearspace API (1.7.0) Core Javadocs

com.jivesoftware.community
Class PollManagerFactory

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

public class PollManagerFactory
extends java.lang.Object

A factory that returns a concrete instance of a PollManager


Field Summary
static com.jivesoftware.community.cache.Cache<java.lang.Long,Poll> pollCache
           
static com.jivesoftware.community.cache.Cache<java.lang.Long,java.util.List<com.jivesoftware.community.impl.Vote>> voteCache
           
 
Method Summary
 void destroy()
           
static void doInitialize()
           
static PollManager getInstance()
          Returns a concrete instance of the poll manager 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

pollCache

public static com.jivesoftware.community.cache.Cache<java.lang.Long,Poll> pollCache

voteCache

public static com.jivesoftware.community.cache.Cache<java.lang.Long,java.util.List<com.jivesoftware.community.impl.Vote>> voteCache
Method Detail

getInstance

public static PollManager getInstance()
Returns a concrete instance of the poll manager interface.

Note: in general, this method is not intended to be called by outside polls of the API. Doing so is dangerous since the PollManager implementation returned will not be secured by a protection proxy.

Returns:
a concrete implementation of a poll manager.

initialize

public void initialize(JiveContext jiveContext)

destroy

public void destroy()

doInitialize

public static void doInitialize()

Clearspace Project Page

Copyright © 1999-2007 Jive Software.