geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <da...@coredevelopers.net>
Subject Re: javax.resource API
Date Tue, 06 Apr 2004 16:19:13 GMT
???

from jca 1.5 javadoc for ManagedConnectionFactory:

setResourceAdapter

public void setResourceAdapter(ResourceAdapter ra)
                         throws ResourceException

     Associate this ManagedConnectionFactory JavaBean with a 
ResourceAdapter JavaBean. Note, this method must be called exactly 
once; that is, the association must not change during the lifetime of 
this ManagedConnectionFactory JavaBean.

     Parameters:
         ra - a ResourceAdapter JavaBean.
     Throws:
         ResourceException - generic exception.
         ResourceAdapterInternalException - resource adapter related 
error condition.
         ResourceException

It doesn't seem to cause problems to run 1.0 adapters against the 1.5 
classes but of course you can't compile a 1.0 adapter against 1.5 
classes.

thanks
david jencks


On Tuesday, April 6, 2004, at 07:39 AM, Hamilton Verissimo de Oliveira 
(Engenharia - SPO) wrote:

>
> Hey folks,
>
>
> Your implementation of ManagedConnectionFactory differs from the JCA 
> 1.5
> API. It adds a setResourceAdapter method. Is that ok?
>
>
> Cheers,
> hammett
>


Mime
View raw message