org.jboss.jms.server.connectionfactory
Class ConnectionFactory

java.lang.Object
  extended byServiceMBeanSupport
      extended byorg.jboss.jms.server.connectionfactory.ConnectionFactory

public class ConnectionFactory
extends ServiceMBeanSupport

A deployable JBoss Messaging connection factory.

Version:
$Revision: 2386 $ $Id: ConnectionFactory.java 2386 2007-02-21 18:07:44Z timfox $
Author:
Ovidiu Feodorov, Tim Fox
See Also:
Serialized Form

Field Summary
protected  java.lang.String clientID
           
protected  boolean clustered
           
protected  ConnectionFactoryManager connectionFactoryManager
           
protected  ConnectionManager connectionManager
           
protected  ConnectorManager connectorManager
           
protected  ObjectName connectorObjectName
           
protected  int defaultTempQueueDownCacheSize
           
protected  int defaultTempQueueFullSize
           
protected  int defaultTempQueuePageSize
           
protected  int dupsOKBatchSize
           
protected  JNDIBindings jndiBindings
           
protected  LoadBalancingFactory loadBalancingFactory
           
protected  int prefetchSize
           
protected  ObjectName serverPeerObjectName
           
protected  boolean started
           
 
Constructor Summary
ConnectionFactory()
           
ConnectionFactory(java.lang.String clientID)
           
 
Method Summary
 java.lang.String getClientID()
           
 ObjectName getConnector()
           
 int getDefaultTempQueueDownCacheSize()
           
 int getDefaultTempQueueFullSize()
           
 int getDefaultTempQueuePageSize()
           
 int getDupsOKBatchSize()
           
 org.w3c.dom.Element getJNDIBindings()
           
 java.lang.String getLoadBalancingFactory()
           
 int getPrefetchSize()
           
 ObjectName getServerPeer()
           
 boolean isClustered()
           
 void setClustered(boolean clustered)
           
 void setConnector(ObjectName on)
           
 void setDefaultTempQueueDownCacheSize(int size)
           
 void setDefaultTempQueueFullSize(int size)
           
 void setDefaultTempQueuePageSize(int size)
           
 void setDupsOKBatchSize(int size)
           
 void setJNDIBindings(org.w3c.dom.Element e)
           
 void setLoadBalancingFactory(java.lang.String factoryName)
           
 void setPrefetchSize(int prefetchSize)
           
 void setServerPeer(ObjectName on)
           
 void startService()
           
 void stopService()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

clientID

protected java.lang.String clientID

jndiBindings

protected JNDIBindings jndiBindings

prefetchSize

protected int prefetchSize

clustered

protected boolean clustered

loadBalancingFactory

protected LoadBalancingFactory loadBalancingFactory

defaultTempQueueFullSize

protected int defaultTempQueueFullSize

defaultTempQueuePageSize

protected int defaultTempQueuePageSize

defaultTempQueueDownCacheSize

protected int defaultTempQueueDownCacheSize

dupsOKBatchSize

protected int dupsOKBatchSize

serverPeerObjectName

protected ObjectName serverPeerObjectName

connectionFactoryManager

protected ConnectionFactoryManager connectionFactoryManager

connectorManager

protected ConnectorManager connectorManager

connectionManager

protected ConnectionManager connectionManager

connectorObjectName

protected ObjectName connectorObjectName

started

protected boolean started
Constructor Detail

ConnectionFactory

public ConnectionFactory()

ConnectionFactory

public ConnectionFactory(java.lang.String clientID)
Method Detail

startService

public void startService()
                  throws java.lang.Exception
Throws:
java.lang.Exception

stopService

public void stopService()
                 throws java.lang.Exception
Throws:
java.lang.Exception

getDefaultTempQueueFullSize

public int getDefaultTempQueueFullSize()

setDefaultTempQueueFullSize

public void setDefaultTempQueueFullSize(int size)

getDefaultTempQueuePageSize

public int getDefaultTempQueuePageSize()

setDefaultTempQueuePageSize

public void setDefaultTempQueuePageSize(int size)

getDefaultTempQueueDownCacheSize

public int getDefaultTempQueueDownCacheSize()

setDefaultTempQueueDownCacheSize

public void setDefaultTempQueueDownCacheSize(int size)

getPrefetchSize

public int getPrefetchSize()

setPrefetchSize

public void setPrefetchSize(int prefetchSize)

getClientID

public java.lang.String getClientID()

setJNDIBindings

public void setJNDIBindings(org.w3c.dom.Element e)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getJNDIBindings

public org.w3c.dom.Element getJNDIBindings()

setServerPeer

public void setServerPeer(ObjectName on)

getServerPeer

public ObjectName getServerPeer()

setConnector

public void setConnector(ObjectName on)

getConnector

public ObjectName getConnector()

isClustered

public boolean isClustered()

setClustered

public void setClustered(boolean clustered)

getLoadBalancingFactory

public java.lang.String getLoadBalancingFactory()

setLoadBalancingFactory

public void setLoadBalancingFactory(java.lang.String factoryName)
                             throws java.lang.Exception
Throws:
java.lang.Exception

setDupsOKBatchSize

public void setDupsOKBatchSize(int size)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getDupsOKBatchSize

public int getDupsOKBatchSize()

toString

public java.lang.String toString()


Copyright © 2006 JBoss Inc. All Rights Reserved.