|
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 |
public interface JiveManager
An interface that all Jive Managers should implement. This interface is designed to solve some intriguing startup issues with clustering by seperating the loading of the core Jive managers and factories from their initialization phase. By doing this we solve many possible deadlock situations where Jive classes are being initialized at the same time that Coherence is starting up and populating caches in seperate threads.
The general contract that any implementing manager must follow is as follows: implementations should not access, either through an instance or via static calls, any other class that could possibly (directly or indirectly) either access one of the main Factory classes or any caches until
initialize()
is called. This restriction includes static class
variables.Not following this contract can cause deadlocks and possible clustering issues during startup.
Method Summary | |
---|---|
void |
destroy()
Notifies the manager to release any resources that may be holding on too. |
void |
initialize()
Initialize the manager. |
Method Detail |
---|
void initialize()
This method is used internally by Jive during application startup and should not be called during normal usage of the class.
void destroy()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |