|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openexchange.mail.MailInitialization
public final class MailInitialization
MailInitialization - Initializes whole mail implementation and therefore provides a central point for starting/stopping mail
implementation.
| Method Summary | |
|---|---|
static MailInitialization |
getInstance()
|
void |
handleAbsence()
Handles the (possibly temporary) absence of cache service |
void |
handleAvailability()
Handles the (re-)availability of cache service |
boolean |
isInitialized()
|
void |
shutDownCaches()
Handles the (possibly temporary) unavailability of caching service |
void |
start()
|
void |
startUpCaches()
Handles the re-availability of caching service |
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MailInitialization getInstance()
MailInitialization
public void start()
throws com.openexchange.groupware.AbstractOXException
start in interface com.openexchange.server.Initializationcom.openexchange.groupware.AbstractOXExceptionpublic void stop()
stop in interface com.openexchange.server.Initialization
public void shutDownCaches()
throws com.openexchange.groupware.AbstractOXException
com.openexchange.groupware.AbstractOXException - If mail caches shut-down fails
public void startUpCaches()
throws com.openexchange.groupware.AbstractOXException
com.openexchange.groupware.AbstractOXException - If mail caches start-up fails
public void handleAbsence()
throws com.openexchange.groupware.AbstractOXException
com.openexchange.cache.registry.CacheAvailabilityListener
handleAbsence in interface com.openexchange.cache.registry.CacheAvailabilityListenercom.openexchange.groupware.AbstractOXException - If an error occurs
public void handleAvailability()
throws com.openexchange.groupware.AbstractOXException
com.openexchange.cache.registry.CacheAvailabilityListener
handleAvailability in interface com.openexchange.cache.registry.CacheAvailabilityListenercom.openexchange.groupware.AbstractOXException - If an error occurspublic boolean isInitialized()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||