|
Clearspace API (1.7.0) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.lifecycle.JiveApplication.ManagerHandler
public static class JiveApplication.ManagerHandler
A class that is used to initialize and retrieve instances of JiveManager.
This class is provided to the ApplicationLifeCycle class and the JiveContext
implementation.
| Constructor Summary | |
|---|---|
JiveApplication.ManagerHandler()
|
|
| Method Summary | ||
|---|---|---|
void |
clear()
Clear all of the manager mappings, This is done if the application is reinitialized. |
|
|
getJiveManager(java.lang.Class clazz)
Returns an instance of a JiveManager when given the class it is mapped too. |
|
void |
registerManager(java.lang.Class<?> clazz,
JiveManager manager)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JiveApplication.ManagerHandler()
| Method Detail |
|---|
public void registerManager(java.lang.Class<?> clazz,
JiveManager manager)
public <U extends JiveManager> U getJiveManager(java.lang.Class clazz)
JiveManager when given the class it is mapped too. The class
passed in should be the interface of the JiveManager if the JiveManager has an interface.
This method is currently only called by JiveContextImpl
clazz - the class to use to return the JiveManager instance
public void clear()
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||