[jboss-jira] [JBoss JIRA] Resolved: (JBJCA-21) Move the rars into a separate project that does not depend on the connection manager implementation
Jesper Pedersen (JIRA)
jira-events at lists.jboss.org
Mon Mar 7 10:08:56 EST 2011
[ https://issues.jboss.org/browse/JBJCA-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesper Pedersen resolved JBJCA-21.
----------------------------------
Assignee: Jesper Pedersen
Resolution: Out of Date
> Move the rars into a separate project that does not depend on the connection manager implementation
> ---------------------------------------------------------------------------------------------------
>
> Key: JBJCA-21
> URL: https://issues.jboss.org/browse/JBJCA-21
> Project: IronJacamar
> Issue Type: Task
> Components: Core
> Reporter: Adrian Brock
> Assignee: Jesper Pedersen
>
> The resource adapter implementations should NOT depend upon the connection manager
> implementation or transaction manager or any other jboss service.
> This is the wrong way around. It is like coding an EJB to use specifics of a JBoss EJB container.
> Related, each resource adapter should be useable in a standalone environment
> (with an internal dummy connection manager) through the alternate api
> See javax.resource.spi.ManagedConnectionFactory
> /**
> * Creates a connection factory instance. The connection manager is provided
> * by the resource adapter.
> *
> * STANDALONE USE
> *
> * @return the connection factory
> * @throws ResourceException for a generic error
> * @throws ResourceAdapterInternalException for an internal error in the
> * resource adapter
> */
> public Object createConnectionFactory() throws ResourceException;
> /**
> * Creates a connection factory instance. the connection manager is provided
> * by the application server
> *
> * APPLICATION SERVER/EXTERNAL CONNECTION MANAGER USE
> *
> * @param cxManager the connection manager
> * @return the connection factory
> * @throws ResourceException for a generic error
> * @throws ResourceAdapterInternalException for an internal error in the
> * resource adapter
> */
> public Object createConnectionFactory(ConnectionManager cxManager) throws ResourceException;
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list