org.exolab.jms.config
Class ConnectorHelper

java.lang.Object
  |
  +--org.exolab.jms.config.ConnectorHelper

public class ConnectorHelper
extends java.lang.Object

ConnectorHelper is a utility class that returns ConnectorResource objects for a given scheme.

Version:
$Revision: 1.2 $ $Date: 2005/08/30 05:05:55 $
Author:
Tim Anderson

Constructor Summary
ConnectorHelper()
           
 
Method Summary
static ConnectorResource getConnectorResource(org.exolab.jms.config.types.SchemeType scheme, Configuration config)
          Returns the connector resource for the supplied scheme, from the supplied configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorHelper

public ConnectorHelper()
Method Detail

getConnectorResource

public static ConnectorResource getConnectorResource(org.exolab.jms.config.types.SchemeType scheme,
                                                     Configuration config)
Returns the connector resource for the supplied scheme, from the supplied configuration. If the configuration doesn't define any connector resources, the default connector for the scheme will be returned.
Parameters:
scheme - the connector scheme
config - the configuration
Returns:
the connector configuration, or null if none exists


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