public class JCRMailboxManager extends StoreMailboxManager<String> implements JCRImapConstants
DEFAULT_FETCH_BATCH_SIZE, SQL_WILDCARD_CHAR
NODE_DELIMITER
Constructor and Description |
---|
JCRMailboxManager(JCRMailboxSessionMapperFactory mapperFactory,
Authenticator authenticator,
MailboxACLResolver aclResolver,
GroupMembershipResolver groupMembershipResolver) |
JCRMailboxManager(JCRMailboxSessionMapperFactory mapperFactory,
Authenticator authenticator,
MailboxPathLocker locker,
MailboxACLResolver aclResolver,
GroupMembershipResolver groupMembershipResolver) |
Modifier and Type | Method and Description |
---|---|
protected StoreMessageManager<String> |
createMessageManager(Mailbox<String> mailboxEntity,
MailboxSession session)
Create a
MailboxManager for the given Mailbox. |
protected Mailbox<String> |
doCreateMailbox(MailboxPath path,
MailboxSession session)
Create a Mailbox for the given mailbox path.
|
addGlobalListener, addListener, copyMessages, createMailbox, createSession, createSystemSession, deleteMailbox, endProcessingRequest, getAclResolver, getDelegationListener, getDelimiter, getEventDispatcher, getGroupMembershipResolver, getLocker, getMailbox, getMapperFactory, getMessageSearchIndex, init, list, login, logout, mailboxExists, randomId, randomUidValidity, removeGlobalListener, removeListener, renameMailbox, search, setCopyBatchSize, setDelegatingMailboxListener, setFetchBatchSize, setMailboxSessionIdGenerator, setMessageSearchIndex, startProcessingRequest
public JCRMailboxManager(JCRMailboxSessionMapperFactory mapperFactory, Authenticator authenticator, MailboxACLResolver aclResolver, GroupMembershipResolver groupMembershipResolver)
public JCRMailboxManager(JCRMailboxSessionMapperFactory mapperFactory, Authenticator authenticator, MailboxPathLocker locker, MailboxACLResolver aclResolver, GroupMembershipResolver groupMembershipResolver)
protected StoreMessageManager<String> createMessageManager(Mailbox<String> mailboxEntity, MailboxSession session) throws MailboxException
StoreMailboxManager
MailboxManager
for the given Mailbox. By default this will return a StoreMessageManager
. If
your implementation needs something different, just override this methodcreateMessageManager
in class StoreMailboxManager<String>
MailboxException
protected Mailbox<String> doCreateMailbox(MailboxPath path, MailboxSession session) throws MailboxException
StoreMailboxManager
SimpleMailbox
.
If you need to return something more special just override this methoddoCreateMailbox
in class StoreMailboxManager<String>
MailboxException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.