public class JPAMailboxSessionMapperFactory extends MailboxSessionMapperFactory<Long>
MailboxSessionMapperFactoryMAILBOXMAPPER, 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, startProcessingRequestpublic JPAMailboxSessionMapperFactory(javax.persistence.EntityManagerFactory entityManagerFactory,
UidProvider<Long> uidProvider,
ModSeqProvider<Long> modSeqProvider)
public MailboxMapper<Long> createMailboxMapper(MailboxSession session)
MailboxSessionMapperFactoryMailboxMapper instance which will get reused during the whole MailboxSessioncreateMailboxMapper in class MailboxSessionMapperFactory<Long>public MessageMapper<Long> createMessageMapper(MailboxSession session)
MailboxSessionMapperFactoryMessageMapper instance which will get reused during the whole MailboxSessioncreateMessageMapper in class MailboxSessionMapperFactory<Long>public SubscriptionMapper createSubscriptionMapper(MailboxSession session)
MailboxSessionMapperFactorySubscriptionMapper instance which will get reused during the whole MailboxSessioncreateSubscriptionMapper in class MailboxSessionMapperFactory<Long>Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.