org.exolab.jms.server
Class ConnectionFactoryHelper

java.lang.Object
  extended by org.exolab.jms.server.ConnectionFactoryHelper

public class ConnectionFactoryHelper
extends java.lang.Object

Helper class for binding connection factories in JNDI

Version:
$Revision: 1.3 $ $Date: 2003/08/07 13:33:08 $
Author:
Tim Anderson

Constructor Summary
ConnectionFactoryHelper()
           
 
Method Summary
static void bind(javax.naming.Context context, ConnectionFactories factories, java.lang.Class implementation, java.util.Hashtable environment)
          Bind the connection factories to the supplied context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionFactoryHelper

public ConnectionFactoryHelper()
Method Detail

bind

public static void bind(javax.naming.Context context,
                        ConnectionFactories factories,
                        java.lang.Class implementation,
                        java.util.Hashtable environment)
                 throws javax.naming.NamingException
Bind the connection factories to the supplied context

Parameters:
context - the context to bind factories to
factories - the connection factories to bind
implementation - a class implementing the JmsServerIfc interface
environment - parameters to pass to the associated JmsConnectionFactory implementation
Throws:
javax.naming.NamingException - if a factory cannot be bound


Copyright © 1999-2005 The OpenJMS Group. All Rights Reserved.