public class JPAMailboxSessionMapperFactory extends MailboxSessionMapperFactory<Long>
MailboxSessionMapperFactory
MAILBOXMAPPER, MESSAGEMAPPER, SUBSCRIPTIONMAPPER
Constructor and Description |
---|
JPAMailboxSessionMapperFactory(javax.persistence.EntityManagerFactory entityManagerFactory,
UidProvider<Long> uidProvider,
ModSeqProvider<Long> modSeqProvider) |
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 |
endProcessingRequest, getMailboxMapper, getMessageMapper, getSubscriptionMapper, startProcessingRequest
public JPAMailboxSessionMapperFactory(javax.persistence.EntityManagerFactory entityManagerFactory, UidProvider<Long> uidProvider, ModSeqProvider<Long> modSeqProvider)
public MailboxMapper<Long> createMailboxMapper(MailboxSession session)
MailboxSessionMapperFactory
MailboxMapper
instance which will get reused during the whole MailboxSession
createMailboxMapper
in class MailboxSessionMapperFactory<Long>
public MessageMapper<Long> createMessageMapper(MailboxSession session)
MailboxSessionMapperFactory
MessageMapper
instance which will get reused during the whole MailboxSession
createMessageMapper
in class MailboxSessionMapperFactory<Long>
public SubscriptionMapper createSubscriptionMapper(MailboxSession session)
MailboxSessionMapperFactory
SubscriptionMapper
instance which will get reused during the whole MailboxSession
createSubscriptionMapper
in class MailboxSessionMapperFactory<Long>
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.