站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 connector API Documentation 英文版文档

JmsConnectionManager (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档


org.jboss.resource.adapter.jms
Class JmsConnectionManager

java.lang.Object
  extended byorg.jboss.resource.adapter.jms.JmsConnectionManager
All Implemented Interfaces:
javax.resource.spi.ConnectionManager, Serializable

public class JmsConnectionManager
extends Object
implements javax.resource.spi.ConnectionManager

The resource adapters own ConnectionManager, used in non-managed environments.

Will handle some of the houskeeping an appserver nomaly does.

Created: Thu Mar 29 16:09:26 2001

Version:
$Revision: 1.6 $
Author:
Peter Antman.
See Also:
Serialized Form

Constructor Summary
JmsConnectionManager()
          Construct a JmsConnectionManager.
 
Method Summary
 Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
          Allocate a new connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsConnectionManager

public JmsConnectionManager()
Construct a JmsConnectionManager.

Method Detail

allocateConnection

public Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
                                 javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
                          throws javax.resource.ResourceException
Allocate a new connection.

Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Parameters:
mcf -
cxRequestInfo -
Returns:
A new connection
Throws:
javax.resource.ResourceException - Failed to create connection.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.