You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Hamilton Verissimo de Oliveira (Engenharia - SPO)" <ha...@agenciaclick.com.br> on 2004/04/06 16:39:40 UTC
javax.resource API
Hey folks,
Your implementation of ManagedConnectionFactory differs from the JCA 1.5
API. It adds a setResourceAdapter method. Is that ok?
Cheers,
hammett
Re: javax.resource API
Posted by David Jencks <da...@coredevelopers.net>.
???
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
>