public class InMemoryMailboxSessionMapperFactory extends MailboxSessionMapperFactory<Long>
MAILBOXMAPPER, MESSAGEMAPPER, SUBSCRIPTIONMAPPER| Constructor and Description |
|---|
InMemoryMailboxSessionMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
MailboxMapper<Long> |
createMailboxMapper(MailboxSession session)
Create a
MailboxMapper instance which will get reused during the whole MailboxSession |
MessageMapper<Long> |
createMessageMapper(MailboxSession session)
Create a
MessageMapper instance which will get reused during the whole MailboxSession |
SubscriptionMapper |
createSubscriptionMapper(MailboxSession session)
Create a
SubscriptionMapper instance which will get reused during the whole MailboxSession |
void |
deleteAll() |
endProcessingRequest, getMailboxMapper, getMessageMapper, getSubscriptionMapper, startProcessingRequestpublic MailboxMapper<Long> createMailboxMapper(MailboxSession session) throws MailboxException
MailboxSessionMapperFactoryMailboxMapper instance which will get reused during the whole MailboxSessioncreateMailboxMapper in class MailboxSessionMapperFactory<Long>MailboxExceptionpublic MessageMapper<Long> createMessageMapper(MailboxSession session) throws MailboxException
MailboxSessionMapperFactoryMessageMapper instance which will get reused during the whole MailboxSessioncreateMessageMapper in class MailboxSessionMapperFactory<Long>MailboxExceptionpublic SubscriptionMapper createSubscriptionMapper(MailboxSession session) throws SubscriptionException
MailboxSessionMapperFactorySubscriptionMapper instance which will get reused during the whole MailboxSessioncreateSubscriptionMapper in class MailboxSessionMapperFactory<Long>SubscriptionExceptionpublic void deleteAll()
throws MailboxException
MailboxExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.