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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org