org.apache.james.mailbox.jpa
Class JPAMailboxSessionMapperFactory

java.lang.Object
  extended by org.apache.james.mailbox.store.MailboxSessionMapperFactory<Long>
      extended by org.apache.james.mailbox.jpa.JPAMailboxSessionMapperFactory
All Implemented Interfaces:
RequestAware, MailboxMapperFactory<Long>, MessageMapperFactory<Long>, SubscriptionMapperFactory

public class JPAMailboxSessionMapperFactory
extends MailboxSessionMapperFactory<Long>

JPA implementation of MailboxSessionMapperFactory


Field Summary
 
Fields inherited from class org.apache.james.mailbox.store.MailboxSessionMapperFactory
MAILBOXMAPPER, MESSAGEMAPPER, SUBSCRIPTIONMAPPER
 
Constructor Summary
JPAMailboxSessionMapperFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
           
 
Method Summary
 MailboxMapper<Long> createMailboxMapper(MailboxSession session)
           
 MessageMapper<Long> createMessageMapper(MailboxSession session)
           
 SubscriptionMapper createSubscriptionMapper(MailboxSession session)
           
 
Methods inherited from class org.apache.james.mailbox.store.MailboxSessionMapperFactory
endProcessingRequest, getMailboxMapper, getMessageMapper, getSubscriptionMapper, startProcessingRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPAMailboxSessionMapperFactory

public JPAMailboxSessionMapperFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
Method Detail

createMailboxMapper

public MailboxMapper<Long> createMailboxMapper(MailboxSession session)
Specified by:
createMailboxMapper in class MailboxSessionMapperFactory<Long>

createMessageMapper

public MessageMapper<Long> createMessageMapper(MailboxSession session)
Specified by:
createMessageMapper in class MailboxSessionMapperFactory<Long>

createSubscriptionMapper

public SubscriptionMapper createSubscriptionMapper(MailboxSession session)
Specified by:
createSubscriptionMapper in class MailboxSessionMapperFactory<Long>


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.