You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/04/29 17:30:28 UTC

svn commit: r939346 - /james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml

Author: norman
Date: Thu Apr 29 15:30:28 2010
New Revision: 939346

URL: http://svn.apache.org/viewvc?rev=939346&view=rev
Log:
Adjust spring config to match latest imap

Modified:
    james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml

Modified: james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml?rev=939346&r1=939345&r2=939346&view=diff
==============================================================================
--- james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml (original)
+++ james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml Thu Apr 29 15:30:28 2010
@@ -322,14 +322,17 @@
     -->
 
     <!-- JPA implementation of IMAP Storage-->
-    <bean id ="subscriper" 	class="org.apache.james.imap.jpa.JPASubscriptionManager">
+    <bean id ="mailboxSessionEntityManagerFactory" class="org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory">
         <constructor-arg index="0" ref="entityManagerFactory"/>
     </bean>
+    <bean id ="subscriper" class="org.apache.james.imap.jpa.JPASubscriptionManager">
+        <constructor-arg index="0" ref="mailboxSessionEntityManagerFactory"/>
+    </bean>
 
     <bean id="mailboxmanager" class="org.apache.james.imap.jpa.openjpa.OpenJPAMailboxManager">
         <constructor-arg index="0" ref="authenticator"/>
         <constructor-arg index="1" ref="subscriper"/>
-        <constructor-arg index="2" ref="entityManagerFactory"/>
+        <constructor-arg index="2" ref="mailboxSessionEntityManagerFactory"/>
         <constructor-arg index="3" value="${openjpa.streaming}"/>
     </bean>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org