|
Jive Forums API (5.5.20.2-oracle) Developer 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 Cache |
userCache
A cache for user objects. |
static 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()
Notifies the manager to release any resources that may be holding on too. |
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()
Initialize the manager. |
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 Cache userIDCache
public static 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()
JiveManager
This method is used internally by Jive during application startup and should not be called during normal usage of the class.
initialize
in interface JiveManager
public void destroy()
JiveManager
destroy
in interface 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 |