users@connector-spec.java.net

[connector-spec-users] [jsr322-experts] Re: ClassName in CF resource definition annotation

From: Jesper Pedersen <jesper.pedersen_at_redhat.com>
Date: Fri, 21 Dec 2012 07:58:52 -0500

Hi,

On 12/21/2012 07:33 AM, Sivakumar Thyagarajan wrote:
>> P.S. You can't use :comp ;)
>
> If the @ConnectorConnectionFactoryDefinition annotations were placed in
> an application component, a "java:comp" name must be a valid JNDI name,
> right? I agree if these resource definition annotations were placed in a
> RAR, then "java:comp" wouldn't be valid as we are discussing in the
> "Resource definition annotation related changes to Platform Spec"
> sub-thread.
>

Placing resource adapter based objects in :comp is a vendor specific
extension at the moment.

And yes, from within a resource adapter they don't make sense.

Best regards,
  Jesper