I haven't tried it myself. Have you? It would be awsome if you could provide 
some feedback about it.

On 19 Ιαν 2012, at 1:22 μ.μ., lbu wrote:

> 
> What about a blueprint configuration like the one below? 
> 
> <blueprint 
>  xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"; 
>  xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.1.0";
>  xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0";>
> 
>  <cm:property-placeholder persistent-id="my_object_id">
>    <cm:default-properties>
>      <cm:property name="jpa_param_1" value="A"/>
>      <cm:property name="jpa_param_2" value="B"/>
>    </cm:default-properties>
>  </cm:property-placeholder>
> 
>  <bean id="my_object">
>    <jpa:context property="em" unitname="unit_1" type="EXTENDED">
>      <map>
>        <entry key="jpa_param_1" value="${jpa_param_1}" />
>        <entry key="jpa_param_2" value="${jpa_param_1}" />
>      </map>
>    </jpa:context>
>  </bean>
> 
> </blueprint>
> 
> 
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/Karaf-JPA-and-ConfigAdmin-tp3667564p3672053.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

Ioannis Canellos
FuseSource

Blog: http://iocanel.blogspot.com
Apache Karaf Committer & PMC
Apache Camel Committer
Apache ServiceMix  Committer
Apache Gora Committer
Apache DirectMemory Committer

Reply via email to