|
Jive Forums API (5.5.20.2-oracle) Core Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.base.UserManagerFactory
public class UserManagerFactory
A factory that returns a concrete instance of a UserManager. Note that the UserManager returned is not wrapped by a protection proxy. Therefore, it's critical that any code that implements end-user functionality does not use this class directly. Instead, the product-specific methods to retrieve a UserManager should be used instead, such as the method available in the ForumFactory class.
Field Summary | |
---|---|
static com.jivesoftware.util.Cache |
userCache
A cache for user objects. |
static com.jivesoftware.util.Cache |
userIDCache
A cache that maps user names to ID's. |
Method Summary | |
---|---|
static void |
addListener(UserListener listener)
Method used internally by Jive. |
void |
destroy()
|
static void |
dispatchEvent(JiveEvent event)
Method used internally by Jive. |
static void |
doDestroy()
Method used internally by Jive. |
static void |
doInitialize()
|
static UserManager |
getInstance()
Returns a concrete instance of the user manager interface. |
void |
initialize()
|
static void |
removeListener(UserListener listener)
Method used internally by Jive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static com.jivesoftware.util.Cache userIDCache
public static com.jivesoftware.util.Cache userCache
Method Detail |
---|
public static UserManager getInstance()
Note: in general, this method is not intended to be called by outside users of the API. Doing so is dangerous since the UserManager implementation returned will not be secured by a protection proxy.
public void initialize()
initialize
in interface com.jivesoftware.base.JiveManager
public void destroy()
destroy
in interface com.jivesoftware.base.JiveManager
public static void doDestroy()
public static void doInitialize()
public static void addListener(UserListener listener)
public static void removeListener(UserListener listener)
public static void dispatchEvent(JiveEvent event)
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |