org.apache.james.mailbox.jpa
Class JPAMailboxSessionMapperFactory
java.lang.Object
org.apache.james.mailbox.store.MailboxSessionMapperFactory<java.lang.Long>
org.apache.james.mailbox.jpa.JPAMailboxSessionMapperFactory
- All Implemented Interfaces:
- RequestAware, MailboxMapperFactory<java.lang.Long>, MessageMapperFactory<java.lang.Long>, SubscriptionMapperFactory
public class JPAMailboxSessionMapperFactory
- extends MailboxSessionMapperFactory<java.lang.Long>
JPA implementation of MailboxSessionMapperFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAMailboxSessionMapperFactory
public JPAMailboxSessionMapperFactory(javax.persistence.EntityManagerFactory entityManagerFactory)
JPAMailboxSessionMapperFactory
public JPAMailboxSessionMapperFactory(javax.persistence.EntityManagerFactory entityManagerFactory,
char delimiter)
createMailboxMapper
public MailboxMapper<java.lang.Long> createMailboxMapper(MailboxSession session)
- Specified by:
createMailboxMapper in class MailboxSessionMapperFactory<java.lang.Long>
createMessageMapper
public MessageMapper<java.lang.Long> createMessageMapper(MailboxSession session)
- Specified by:
createMessageMapper in class MailboxSessionMapperFactory<java.lang.Long>
createSubscriptionMapper
public SubscriptionMapper createSubscriptionMapper(MailboxSession session)
- Specified by:
createSubscriptionMapper in class MailboxSessionMapperFactory<java.lang.Long>
createEntityManager
public javax.persistence.EntityManager createEntityManager()
- Return a new
EntityManager instance
- Returns:
- manager
Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.