com.openexchange.mail.api
Class AbstractProtocolProperties

java.lang.Object
  extended by com.openexchange.mail.api.AbstractProtocolProperties

public abstract class AbstractProtocolProperties
extends java.lang.Object

AbstractProtocolProperties - Super class of protocol-specific global properties

Author:
Thorben Betten

Method Summary
 void loadProperties()
          Exclusively loads protocol's global properties
 void resetProperties()
          Exclusively resets protocol's global properties
 void waitForLoading()
          Waits for loading this properties.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadProperties

public void loadProperties()
                    throws MailConfigException
Exclusively loads protocol's global properties

Throws:
MailConfigException - If loading of protocol's global properties fails

resetProperties

public void resetProperties()
Exclusively resets protocol's global properties


waitForLoading

public final void waitForLoading()
                          throws java.lang.InterruptedException
Waits for loading this properties.

Throws:
java.lang.InterruptedException - If another thread interrupted the current thread before or while the current thread was waiting for loading the properties.