[jBPM] New message: "Properties value can't wire #{object}"
by ciccio ciccio
User development,
A new message was posted in the thread "Properties value can't wire #{object}":
http://community.jboss.org/message/526790#526790
Author : ciccio ciccio
Profile : http://community.jboss.org/people/ciccioVega
Message:
--------------------------------------------------------------
Hi guys,
is it possible to wire an object in property of properties?
The code is:
<custom name="outputManager" class="it.Example">
<field name="properties">
<object class="it.MyProperties">
<property name="parametersMap">
<map class="java.util.HashMap">
<entry>
<key>
<string value="outputPathName" />
</key>
<value>
<object expr="C:#{output[0].value}" />
</value>
</entry>
</map>
</property>
<property name="properties">
<properties>
<property name="outputPathName" value="C:#{output[0].value}" />
</properties>
</property>
</object>
</field>
<transition name="to end" to="end" />
</custom>
In this code i use a Map and it functions because i can use <object> with attribute "expr", otherwise when i use <properties> (java.util.Properties), the value can't wire my object #{output} and it takes "outputPathName" like "C:#{output[0].value}"
Any suggestions to cast my object in string?
I'd like to use EL function to concat but i'm still waiting an answer in my other thread!!
Thanks in advance
Ciccio
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/526790#526790
16 years, 5 months
[JCA] New message: "Re: How to reference an embedded JCA resource adapater"
by Vicky Kak
User development,
A new message was posted in the thread "How to reference an embedded JCA resource adapater":
http://community.jboss.org/message/526781#526781
Author : Vicky Kak
Profile : http://community.jboss.org/people/vickyk
Message:
--------------------------------------------------------------
> cgrf wrote: Another reason is encapsulation: when included within the EAR file, the adapter is not accessible to other applications on the same server. Also, multiple instances of my application could easily "bring along" their own configuration of the adapter.
Well I understand that you have scoped EAR, so what you could do here is have multiple EAR's like plainear.ear and rarear.ear. Both of these ear's should be isolated and share the same CL, this can be controlled via the jboss-app.xml in EAR. The loader-repository entry in the plainear.ear/META-INF/jboss-app.xml and rarear.ear/META-INF/jboss-app.xml should have similar entry.
You can give it a try and let us know if that sorts the issue.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/526781#526781
16 years, 5 months