org.jboss.messaging.ra
Class JBMMCFProperties

java.lang.Object
  extended by org.jboss.messaging.ra.JBMMCFProperties
All Implemented Interfaces:
java.io.Serializable

public class JBMMCFProperties
extends java.lang.Object
implements java.io.Serializable

The MCF default properties - these are set in the at the jms-ds.xml

Version:
$Revision: $
Author:
Adrian Brock, Jesper Pedersen, Clebert Suconic
See Also:
Serialized Form

Field Summary
 java.lang.String strConnectionParameters
           
 
Constructor Summary
JBMMCFProperties()
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 java.lang.String getConnectionParameters()
           
 java.lang.String getConnectorClassName()
           
 java.util.Map<java.lang.String,java.lang.Object> getParsedConnectionParameters()
           
 java.lang.String getSessionDefaultType()
          Get the default session type.
 int getType()
          Get the connection type
 java.lang.Integer getUseTryLock()
          Get the useTryLock.
 int hashCode()
          Return the hash code for the object
 void setConnectionParameters(java.lang.String configuration)
           
 void setConnectorClassName(java.lang.String value)
           
 void setSessionDefaultType(java.lang.String defaultType)
          Set the default session type.
 void setUseTryLock(java.lang.Integer useTryLock)
          Set the useTryLock.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strConnectionParameters

public java.lang.String strConnectionParameters
Constructor Detail

JBMMCFProperties

public JBMMCFProperties()
Constructor

Method Detail

getType

public int getType()
Get the connection type

Returns:
The type

getConnectionParameters

public java.lang.String getConnectionParameters()
Returns:
the connectionParameters

getParsedConnectionParameters

public java.util.Map<java.lang.String,java.lang.Object> getParsedConnectionParameters()

setConnectionParameters

public void setConnectionParameters(java.lang.String configuration)

getConnectorClassName

public java.lang.String getConnectorClassName()
Returns:
the transportType

setConnectorClassName

public void setConnectorClassName(java.lang.String value)

setSessionDefaultType

public void setSessionDefaultType(java.lang.String defaultType)
Set the default session type.

Parameters:
defaultType - either javax.jms.Topic or javax.jms.Queue

getSessionDefaultType

public java.lang.String getSessionDefaultType()
Get the default session type.

Returns:
The default session type

getUseTryLock

public java.lang.Integer getUseTryLock()
Get the useTryLock.

Returns:
the useTryLock.

setUseTryLock

public void setUseTryLock(java.lang.Integer useTryLock)
Set the useTryLock.

Parameters:
useTryLock - the useTryLock.

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class java.lang.Object
Parameters:
obj - Object with which to compare
Returns:
True if this object is the same as the obj argument; false otherwise.

hashCode

public int hashCode()
Return the hash code for the object

Overrides:
hashCode in class java.lang.Object
Returns:
The hash code


Copyright © 2006 JBoss Inc. All Rights Reserved.