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, startProcessingRequest
public MailboxMapper<Long> createMailboxMapper(MailboxSession session) throws MailboxException
MailboxSessionMapperFactory
MailboxMapper
instance which will get reused during the whole MailboxSession
createMailboxMapper
in class MailboxSessionMapperFactory<Long>
MailboxException
public MessageMapper<Long> createMessageMapper(MailboxSession session) throws MailboxException
MailboxSessionMapperFactory
MessageMapper
instance which will get reused during the whole MailboxSession
createMessageMapper
in class MailboxSessionMapperFactory<Long>
MailboxException
public SubscriptionMapper createSubscriptionMapper(MailboxSession session) throws SubscriptionException
MailboxSessionMapperFactory
SubscriptionMapper
instance which will get reused during the whole MailboxSession
createSubscriptionMapper
in class MailboxSessionMapperFactory<Long>
SubscriptionException
public void deleteAll() throws MailboxException
MailboxException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.