james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r951401 - /james/server/trunk/spring-deployment/src/main/config/james/spring-beans.xml
Date Fri, 04 Jun 2010 13:14:21 GMT
Author: norman
Date: Fri Jun  4 13:14:20 2010
New Revision: 951401

URL: http://svn.apache.org/viewvc?rev=951401&view=rev
Log:
Changes for current 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=951401&r1=951400&r2=951401&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 Fri Jun  4
13:14:20 2010
@@ -326,17 +326,17 @@
     -->
 
     <!-- JPA implementation of IMAP Storage-->
-    <bean id ="sessionEntityManagerFactory" class="org.apache.james.imap.jpa.MailboxSessionEntityManagerFactory">
+    <bean id="sessionMapperFactory" class="org.apache.james.imap.jpa.JPAMailboxSessionMapperFactory">
         <constructor-arg index="0" ref="entityManagerFactory"/>
     </bean>
     <bean id ="subscriper" class="org.apache.james.imap.jpa.JPASubscriptionManager">
-        <constructor-arg index="0" ref="sessionEntityManagerFactory"/>
+        <constructor-arg index="0" ref="sessionMapperFactory"/>
     </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="sessionEntityManagerFactory"/>
+        <constructor-arg index="0" ref="sessionMapperFactory"/>
+        <constructor-arg index="1" ref="authenticator"/>
+        <constructor-arg index="2" ref="subscriper"/>
         <constructor-arg index="3" value="${openjpa.streaming}"/>
     </bean>
 
@@ -365,16 +365,20 @@
         <constructor-arg index="3" value="james"/>
     </bean>
     
-    <bean id ="subscriper" 	class="org.apache.james.imap.jcr.JCRSubscriptionManager">
+    <bean id="sessionMapperFactory" class="org.apache.james.imap.jcr.JCRMailboxSessionMapperFactory">
         <constructor-arg index="0" ref="sessionJcrRepository"/>
     </bean>
 
+    <bean id ="subscriper" class="org.apache.james.imap.jcr.JCRSubscriptionManager">
+        <constructor-arg index="0" ref="sessionMapperFactory"/>
+    </bean>
 
     <bean id="mailboxmanager" class="org.apache.james.imap.jcr.JCRMailboxManager">
-        <constructor-arg index="0" ref="authenticator"/>
-        <constructor-arg index="1" ref="subscriper"/>
-        <constructor-arg index="2" ref="sessionJcrRepository"/>
+        <constructor-arg index="0" ref="sessionMapperFactory"/>
+        <constructor-arg index="1" ref="authenticator"/>
+        <constructor-arg index="2" ref="subscriper"/>
     </bean>
+
     -->
 
     <bean id="domainlistmanagement" class="org.apache.james.management.impl.DomainListManagement"
/>



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


Mime
View raw message