|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.registry.sync.CentralFactory
public final class CentralFactory
Factory class to enable the access to the Central implementation of Biomoby. The static class provides access to the local and the master central.
Method Summary | |
---|---|
static CentralDigestImpl |
getLocalCentral()
Returns the local central. |
static CentralDigestImpl |
getMasterCentral()
Returns the master central. |
static void |
init(Properties configuration)
Initialise the master and the local centrals. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void init(Properties configuration) throws MobyException
configuration
- the information about the endpoints of the centrals
MobyException
- whether the initialisation of the centrals failedpublic static CentralDigestImpl getLocalCentral() throws MobyException
MobyException
- whether the local central is not initialisedpublic static CentralDigestImpl getMasterCentral() throws MobyException
MobyException
- whether the master central is not initialised
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |