org.jboss.messaging.ra
Class JBMMCFProperties

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

public class JBMMCFProperties
extends ConnectionFactoryProperties
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, Andy Taylor
See Also:
Serialized Form

Field Summary
 java.lang.String strBackupConnectionParameters
           
 java.lang.String strConnectionParameters
           
 
Constructor Summary
JBMMCFProperties()
          Constructor
 
Method Summary
 java.lang.String getBackupConnectionParameters()
           
 java.lang.String getSessionDefaultType()
          Get the default session type.
 java.lang.String getStrConnectionParameters()
           
 int getType()
          Get the connection type
 java.lang.Integer getUseTryLock()
          Get the useTryLock.
 void setBackupConnectionParameters(java.lang.String configuration)
           
 void setConnectionParameters(java.lang.String configuration)
           
 void setSessionDefaultType(java.lang.String defaultType)
          Set the default session type.
 void setUseTryLock(java.lang.Integer useTryLock)
          Set the useTryLock.
 
Methods inherited from class org.jboss.messaging.ra.ConnectionFactoryProperties
getBackupConnectorClassName, getCallTimeout, getClientFailureCheckPeriod, getClientID, getConnectionLoadBalancingPolicyClassName, getConnectionTTL, getConnectorClassName, getConsumerMaxRate, getConsumerWindowSize, getDiscoveryAddress, getDiscoveryInitialWaitTimeout, getDiscoveryPort, getDiscoveryRefreshTimeout, getDupsOKBatchSize, getMaxConnections, getMinLargeMessageSize, getParsedBackupConnectionParameters, getParsedConnectionParameters, getProducerMaxRate, getProducerWindowSize, getReconnectAttempts, getRetryInterval, getRetryIntervalMultiplier, getScheduledThreadPoolMaxSize, getThreadPoolMaxSize, getTransactionBatchSize, isAutoGroup, isBlockOnAcknowledge, isBlockOnNonPersistentSend, isBlockOnPersistentSend, isFailoverOnServerShutdown, isHasBeenUpdated, isPreAcknowledge, isUseGlobalPools, setAutoGroup, setBackupConnectorClassName, setBlockOnAcknowledge, setBlockOnNonPersistentSend, setBlockOnPersistentSend, setCallTimeout, setClientFailureCheckPeriod, setClientID, setConnectionLoadBalancingPolicyClassName, setConnectionTTL, setConnectorClassName, setConsumerMaxRate, setConsumerWindowSize, setDiscoveryAddress, setDiscoveryInitialWaitTimeout, setDiscoveryPort, setDiscoveryRefreshTimeout, setDupsOKBatchSize, setFailoverOnServerShutdown, setMaxConnections, setMinLargeMessageSize, setParsedBackupConnectionParameters, setParsedConnectionParameters, setPreAcknowledge, setProducerMaxRate, setProducerWindowSize, setReconnectAttempts, setRetryInterval, setRetryIntervalMultiplier, setScheduledThreadPoolMaxSize, setThreadPoolMaxSize, setTransactionBatchSize, setUseGlobalPools
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strConnectionParameters

public java.lang.String strConnectionParameters

strBackupConnectionParameters

public java.lang.String strBackupConnectionParameters
Constructor Detail

JBMMCFProperties

public JBMMCFProperties()
Constructor

Method Detail

getType

public int getType()
Get the connection type

Returns:
The type

getStrConnectionParameters

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

setConnectionParameters

public void setConnectionParameters(java.lang.String configuration)

getBackupConnectionParameters

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

setBackupConnectionParameters

public void setBackupConnectionParameters(java.lang.String configuration)

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.


Copyright © 2006 JBoss Inc. All Rights Reserved.