[jboss-user] [IronJacamar] - Re: Calling matchManagedConnections and getInvalidConnections

Jesper Pedersen do-not-reply at jboss.com
Thu Nov 10 14:23:40 EST 2011


Jesper Pedersen [http://community.jboss.org/people/jesper.pedersen] created the discussion

"Re: Calling matchManagedConnections and getInvalidConnections"

To view the discussion, visit: http://community.jboss.org/message/636010#636010

--------------------------------------------------------------
The JCA container calls matchManagedConnections() in order to verify if a ManagedConnection can be reused - see  http://docs.jboss.org/ironjacamar/userguide/1.1/en-US/html/samples.html#sample_helloworld_mcf http://docs.jboss.org/ironjacamar/userguide/1.1/en-US/html/samples.html#sample_helloworld_mcf. In most cases you would use the Subject and/or CRI to verify a match.

The ValidatingManagedConnectionFactory interface can be implemented in order to help the JCA container to clean up unneeded managed connections.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/636010#636010]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111110/7b712c4d/attachment.html 


More information about the jboss-user mailing list