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

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


org.jboss.resource.adapter.jms
Class JmsMCFProperties

java.lang.Object
  extended byorg.jboss.resource.adapter.jms.JmsMCFProperties
All Implemented Interfaces:
Serializable

public class JmsMCFProperties
extends Object
implements Serializable

The MCF default properties, settable in ra.xml or in deployer. Created: Thu Sep 27 10:01:25 2001

Version:
$Revision: 1.4 $
Author:
Peter Antman
See Also:
Serialized Form

Field Summary
static String QUEUE_TYPE
           
static String TOPIC_TYPE
           
 
Constructor Summary
JmsMCFProperties()
           
 
Method Summary
 boolean equals(Object obj)
          Test for equality of all attributes.
 String getClientID()
          Get client id, may be null.
 String getPassword()
          Get password, may be null.
 String getProviderJNDI()
          Get providerJNDI.
 String getSessionDefaultType()
           
 int getType()
          Type of the JMS Session.
 String getUserName()
          Get userName, may be null.
 int hashCode()
          Simple hashCode of all attributes.
 void setClientID(String clientID)
          Set client id, null by default.
 void setPassword(String password)
          Set password, null by default.
 void setProviderJNDI(String providerJNDI)
          Set providerJNDI, the JMS provider adapter to use.
 void setSessionDefaultType(String type)
          Helper method to set the default session type.
 void setType(int type)
          Set the default session type.
 void setUserName(String userName)
          Set userName, null by default.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUEUE_TYPE

public static final String QUEUE_TYPE

TOPIC_TYPE

public static final String TOPIC_TYPE
Constructor Detail

JmsMCFProperties

public JmsMCFProperties()
Method Detail

setUserName

public void setUserName(String userName)
Set userName, null by default.


getUserName

public String getUserName()
Get userName, may be null.


setPassword

public void setPassword(String password)
Set password, null by default.


getPassword

public String getPassword()
Get password, may be null.


getClientID

public String getClientID()
Get client id, may be null.


setClientID

public void setClientID(String clientID)
Set client id, null by default.


setProviderJNDI

public void setProviderJNDI(String providerJNDI)
Set providerJNDI, the JMS provider adapter to use.

Defaults to java:DefaultJMSProvider.


getProviderJNDI

public String getProviderJNDI()
Get providerJNDI. May not be null.


getType

public int getType()
Type of the JMS Session.


setType

public void setType(int type)
Set the default session type.


setSessionDefaultType

public void setSessionDefaultType(String type)
                           throws javax.resource.ResourceException
Helper method to set the default session type.

Parameters:
type - either javax.jms.Topic or javax.jms.Queue
Throws:
javax.resource.ResourceException - if type was not a valid type.

getSessionDefaultType

public String getSessionDefaultType()

equals

public boolean equals(Object obj)
Test for equality of all attributes.


hashCode

public int hashCode()
Simple hashCode of all attributes.



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