Package org.alfresco.repo.imap
Class AlfrescoImapServer
- java.lang.Object
-
- org.springframework.extensions.surf.util.AbstractLifecycleBean
-
- org.alfresco.repo.imap.AlfrescoImapServer
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener
public class AlfrescoImapServer extends org.springframework.extensions.surf.util.AbstractLifecycleBean- Author:
- Mike Shavnev
-
-
Constructor Summary
Constructors Constructor Description AlfrescoImapServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckForOpeningExceptions(java.util.concurrent.atomic.AtomicReference<java.lang.Exception> serverOpeningExceptionRef)java.lang.StringgetHost()intgetPort()intgetSecurePort()booleanisImapEnabled()booleanisImapsEnabled()booleanisImapServerEnabled()protected voidonBootstrap(org.springframework.context.ApplicationEvent event)protected voidonShutdown(org.springframework.context.ApplicationEvent event)voidsetHost(java.lang.String host)voidsetImapEnabled(boolean imapEnabled)voidsetImapsEnabled(boolean imapsEnabled)voidsetImapServerEnabled(boolean imapServerEnabled)voidsetImapService(ImapService imapService)voidsetImapUserManager(com.icegreen.greenmail.user.UserManager imapUserManager)voidsetPort(int port)voidsetSecurePort(int securePort)voidshutdown()voidstartup()
-
-
-
Method Detail
-
setImapServerEnabled
public void setImapServerEnabled(boolean imapServerEnabled)
-
isImapServerEnabled
public boolean isImapServerEnabled()
-
setPort
public void setPort(int port)
-
setHost
public void setHost(java.lang.String host)
-
getPort
public int getPort()
-
setSecurePort
public void setSecurePort(int securePort)
-
getSecurePort
public int getSecurePort()
-
getHost
public java.lang.String getHost()
-
setImapService
public void setImapService(ImapService imapService)
-
setImapUserManager
public void setImapUserManager(com.icegreen.greenmail.user.UserManager imapUserManager)
-
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
- Specified by:
onBootstrapin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
onShutdown
protected void onShutdown(org.springframework.context.ApplicationEvent event)
- Specified by:
onShutdownin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
startup
public void startup()
-
checkForOpeningExceptions
public void checkForOpeningExceptions(java.util.concurrent.atomic.AtomicReference<java.lang.Exception> serverOpeningExceptionRef)
-
shutdown
public void shutdown()
-
setImapsEnabled
public void setImapsEnabled(boolean imapsEnabled)
-
isImapsEnabled
public boolean isImapsEnabled()
-
setImapEnabled
public void setImapEnabled(boolean imapEnabled)
-
isImapEnabled
public boolean isImapEnabled()
-
-