org.exolab.jms.server.net
Class ConnectionFactoryHelper

java.lang.Object
  |
  +--org.exolab.jms.server.net.ConnectionFactoryHelper

public class ConnectionFactoryHelper
extends java.lang.Object

Helper class for binding connection factories in JNDI.

Version:
$Revision: 1.2 $ $Date: 2005/04/07 02:42:49 $
Author:
Tim Anderson

Constructor Summary
ConnectionFactoryHelper()
           
 
Method Summary
static void bind(javax.naming.Context context, ConnectionFactories factories, java.lang.Class implementation, java.util.Map properties)
          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.Map properties)
                 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 ServerConnector interface
properties - parameters to pass to the associated JmsConnectionFactory implementation
Throws:
javax.naming.NamingException - if a factory cannot be bound


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