Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[edt-dev] Bugzilla enhancement 369135

If you are using 0.8.0 I2 please read.
The enhancement (bugzilla 369135) was just committed and will affect anyone who is using @Resource or SysLib.getResource.
The enhancement redefines resources, in 0.7.0 resources were only considered bindings, but in the future a resource can represent just about anything.

This required an API change to @Resource and SysLib.getResource, instead of a key these now take a URI. The details are covered in 369135, but you will need to make some code changes. Here are examples of what you need to change:
       @Resource{bindingKey = “myDB”} to @Resource{uri=”binding:myDB”}.
        @Resource{bindingKey=”myDB”, propertyFileName=”ProdDD”} to @Resource{uri=”binding:file:ProdDD#myDB”}
        SysLib.getResource(“myDB”) SysLib.getResource(”binding:myDB”).
        SysLib.getResource(”myDB”, ”ProdDD”} to SysLib.getResource(”binding:file:ProdDD#myDB”).

regards,
Joe Vincens
EGL Developer
Rational Software, IBM Software Group

Back to the top