james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: svn commit: r1145691 - in /james/mailbox/trunk: ./ jpa/ jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/ jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/
Date Wed, 13 Jul 2011 06:35:05 GMT
On 13/07/11 07:28, Norman Maurer wrote:
> Hi there,
>
> you need to use this two files content:
>
<snip>
>
> conf/james-mailbox-jpa-context.xml:
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> classpath:org/springframework/beans/factory/xml/spring-beans-3.0.xsd">
> <!--
> Mailbox JPA
> -->
>
> <bean id="jpa-locker"
> class="org.apache.james.mailbox.store.JVMMailboxPathLocker"/>
>
> <bean id="jpa-mailboxmanager"
> class="org.apache.james.mailbox.jpa.openjpa.OpenJPAMailboxManager"
> init-method="init">
> <constructor-arg index="0" ref="jpa-sessionMapperFactory"/>
> <constructor-arg index="1" ref="authenticator"/>
> <constructor-arg index="2" ref="jpa-locker"/>
> <constructor-arg index="3" value="YOURPASSWORD"/>
> </bean>

I like the AdvanceFeature enum in OpenJPAMessageManager.

I didn't known how to pass null value to trigger "if (encryptPass != 
null) ", but it seems to be:
<constructor-arg index="3"><null/></constructor-arg>


-- 
Eric

---------------------------------------------------------------------
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