org.jboss.jms.server.connectionfactory
Class ConnectionFactoryJNDIMapper
java.lang.Object
org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper
- All Implemented Interfaces:
- ConnectionFactoryManager
- public class ConnectionFactoryJNDIMapper
- extends java.lang.Object
- implements ConnectionFactoryManager
- Version:
- $Revision: 2594 $
$Id: ConnectionFactoryJNDIMapper.java 2594 2007-04-20 15:44:23Z timfox $
- Author:
- Ovidiu Feodorov, Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialContext
protected javax.naming.Context initialContext
serverPeer
protected ServerPeer serverPeer
endpoints
protected java.util.Map endpoints
factories
protected java.util.Map factories
ConnectionFactoryJNDIMapper
public ConnectionFactoryJNDIMapper(ServerPeer serverPeer)
throws java.lang.Exception
registerConnectionFactory
public int registerConnectionFactory(java.lang.String clientID,
JNDIBindings jndiBindings,
java.lang.String locatorURI,
boolean clientPing,
int prefetchSize,
int defaultTempQueueFullSize,
int defaultTempQueuePageSize,
int defaultTempQueueDownCacheSize)
throws java.lang.Exception
- Specified by:
registerConnectionFactory
in interface ConnectionFactoryManager
- Parameters:
jndiBindings
- - if null, the connection factory will be created and registered with the
AOP subsystem, but not bound in JNDI.
- Returns:
- an identifier that uniques identifies the registered ConnectionFactory.
- Throws:
java.lang.Exception
unregisterConnectionFactory
public void unregisterConnectionFactory(int connFactoryID)
throws java.lang.Exception
- Specified by:
unregisterConnectionFactory
in interface ConnectionFactoryManager
- Throws:
java.lang.Exception
getConnectionFactory
public javax.jms.ConnectionFactory getConnectionFactory(int connectionFactoryID)
- Specified by:
getConnectionFactory
in interface ConnectionFactoryManager
start
public void start()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2006 JBoss Inc. All Rights Reserved.