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

JmsConnectionRequestInfo (JBoss Connector API) - JBoss 3.2.7 connector API Documentation 英文版文档


org.jboss.resource.adapter.jms
Class JmsConnectionRequestInfo

java.lang.Object
  extended byorg.jboss.resource.adapter.jms.JmsConnectionRequestInfo
All Implemented Interfaces:
javax.resource.spi.ConnectionRequestInfo

public class JmsConnectionRequestInfo
extends Object
implements javax.resource.spi.ConnectionRequestInfo

Request information used in pooling Created: Thu Mar 29 16:29:55 2001

Version:
$Revision: 1.2.2.1 $
Author:
Peter Antman.

Constructor Summary
JmsConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type)
          Create with specified properties.
JmsConnectionRequestInfo(JmsMCFProperties prop)
          Creats with the MCF configured properties.
 
Method Summary
 boolean equals(Object obj)
           
 int getAcknowledgeMode()
           
 String getClientID()
           
 String getPassword()
           
 int getType()
           
 String getUserName()
           
 int hashCode()
           
 boolean isTransacted()
           
 void setClientID(String clientID)
           
 void setDefaults(JmsMCFProperties prop)
          Fill in default values if missing.
 void setPassword(String password)
           
 void setUserName(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsConnectionRequestInfo

public JmsConnectionRequestInfo(JmsMCFProperties prop)
Creats with the MCF configured properties.


JmsConnectionRequestInfo

public JmsConnectionRequestInfo(boolean transacted,
                                int acknowledgeMode,
                                int type)
Create with specified properties.

Method Detail

setDefaults

public void setDefaults(JmsMCFProperties prop)
Fill in default values if missing. Only applies to user and password.


getUserName

public String getUserName()

setUserName

public void setUserName(String name)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getClientID

public String getClientID()

setClientID

public void setClientID(String clientID)

isTransacted

public boolean isTransacted()

getAcknowledgeMode

public int getAcknowledgeMode()

getType

public int getType()

equals

public boolean equals(Object obj)
Specified by:
equals in interface javax.resource.spi.ConnectionRequestInfo

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.resource.spi.ConnectionRequestInfo


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