public class JCRMailboxSessionMapperFactory extends MailboxSessionMapperFactory<String>
MailboxSessionMapperFactory
MAILBOXMAPPER, MESSAGEMAPPER, SUBSCRIPTIONMAPPER
Constructor and Description |
---|
JCRMailboxSessionMapperFactory(MailboxSessionJCRRepository repository,
UidProvider<String> uidProvider,
ModSeqProvider<String> modSeqProvider) |
JCRMailboxSessionMapperFactory(MailboxSessionJCRRepository repository,
UidProvider<String> uidProvider,
ModSeqProvider<String> modSeqProvider,
int scaling,
int messageScaling) |
Modifier and Type | Method and Description |
---|---|
MailboxMapper<String> |
createMailboxMapper(MailboxSession session)
Create a
MailboxMapper instance which will get reused during the whole MailboxSession |
MessageMapper<String> |
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 |
MailboxSessionJCRRepository |
getRepository() |
endProcessingRequest, getMailboxMapper, getMessageMapper, getSubscriptionMapper, startProcessingRequest
public JCRMailboxSessionMapperFactory(MailboxSessionJCRRepository repository, UidProvider<String> uidProvider, ModSeqProvider<String> modSeqProvider)
public JCRMailboxSessionMapperFactory(MailboxSessionJCRRepository repository, UidProvider<String> uidProvider, ModSeqProvider<String> modSeqProvider, int scaling, int messageScaling)
public MailboxMapper<String> createMailboxMapper(MailboxSession session) throws MailboxException
MailboxSessionMapperFactory
MailboxMapper
instance which will get reused during the whole MailboxSession
createMailboxMapper
in class MailboxSessionMapperFactory<String>
MailboxException
public MessageMapper<String> createMessageMapper(MailboxSession session) throws MailboxException
MailboxSessionMapperFactory
MessageMapper
instance which will get reused during the whole MailboxSession
createMessageMapper
in class MailboxSessionMapperFactory<String>
MailboxException
public SubscriptionMapper createSubscriptionMapper(MailboxSession session) throws SubscriptionException
MailboxSessionMapperFactory
SubscriptionMapper
instance which will get reused during the whole MailboxSession
createSubscriptionMapper
in class MailboxSessionMapperFactory<String>
SubscriptionException
public MailboxSessionJCRRepository getRepository()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.