I'm trying to write a JCA resource adapter. In the ra.xml I have added entries for custom properties such as:
<config-property>
<config-property-name>UserName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
When I load the resource adapter in WebSphere these entries show up under the custom properties of the RA. It is possible to edit and save these values and WebSphere reloads them after a restart.
How does the resource adapter itself read access these values however? I'm guessing it involves injection and annotations or something but I can't seem to find anything that simply explains how it is supposed to work.
Thanks,