Jive Forums API (5.5.20.2-oracle) Core Javadocs

com.jivesoftware.base
Class PollManagerFactory

java.lang.Object
  extended by com.jivesoftware.base.PollManagerFactory
All Implemented Interfaces:
com.jivesoftware.base.JiveManager

public class PollManagerFactory
extends java.lang.Object
implements com.jivesoftware.base.JiveManager

A factory that returns a concrete instance of a poll manager.


Field Summary
static com.jivesoftware.util.Cache pollCache
           
static com.jivesoftware.util.Cache pollQueryCache
           
static com.jivesoftware.util.Cache voteCache
           
 
Method Summary
 void destroy()
           
static void doInitialize()
           
static PollManager getInstance()
          Returns a concrete instance of the poll manager interface.
 void initialize()
           
 
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.util.Cache pollCache

pollQueryCache

public static com.jivesoftware.util.Cache pollQueryCache

voteCache

public static com.jivesoftware.util.Cache 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()
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()

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.