org.exolab.jms.config
Class ConfigHelper

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

public class ConfigHelper
extends java.lang.Object

Helper class for interrogating the configuration.

Version:
$Revision: 1.8 $ $Date: 2005/12/01 13:53:23 $
Author:
Tim Anderson

Constructor Summary
ConfigHelper()
           
 
Method Summary
static java.lang.String getAdminURL(org.exolab.jms.config.types.SchemeType scheme, Configuration config)
          Returns the server administration URL for the specified scheme.
static java.lang.String getJndiURL(org.exolab.jms.config.types.SchemeType scheme, Configuration config)
          Returns the embedded JNDI URL for the specified scheme.
static java.lang.String getServerURL(org.exolab.jms.config.types.SchemeType scheme, Configuration config)
          Returns the server URL for the specified scheme.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigHelper

public ConfigHelper()
Method Detail

getServerURL

public static java.lang.String getServerURL(org.exolab.jms.config.types.SchemeType scheme,
                                            Configuration config)
Returns the server URL for the specified scheme.
Parameters:
scheme - the connector scheme
config - the configuration to use
Returns:
the server URL for the specified scheme

getJndiURL

public static java.lang.String getJndiURL(org.exolab.jms.config.types.SchemeType scheme,
                                          Configuration config)
Returns the embedded JNDI URL for the specified scheme.
Parameters:
scheme - the connector scheme
config - the configuration to use
Returns:
embedded JNDI URL for the specified scheme

getAdminURL

public static java.lang.String getAdminURL(org.exolab.jms.config.types.SchemeType scheme,
                                           Configuration config)
Returns the server administration URL for the specified scheme.
Parameters:
scheme - the connector scheme
config - the configuration to use
Returns:
the server administration URL for the specified scheme


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