org.exolab.jms.config
Class ConfigHelper

java.lang.Object
  extended by org.exolab.jms.config.ConfigHelper

public class ConfigHelper
extends java.lang.Object

Helper class for interrogating the configuration

Version:
$Revision: 1.5 $ $Date: 2003/08/18 10:16:58 $
Author:
Tim Anderson

Constructor Summary
ConfigHelper()
           
 
Method Summary
static java.lang.String getAdminURL(SchemeType scheme, Configuration config)
          Returns the server administration URL for the specified scheme
static java.lang.String getJndiURL(SchemeType scheme, Configuration config)
          Returns the embedded JNDI URL for the specified scheme
static java.lang.String getServerURL(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(SchemeType scheme,
                                            Configuration config)
Returns the server URL for the specified scheme


getJndiURL

public static java.lang.String getJndiURL(SchemeType scheme,
                                          Configuration config)
Returns the embedded JNDI URL for the specified scheme


getAdminURL

public static java.lang.String getAdminURL(SchemeType scheme,
                                           Configuration config)
Returns the server administration URL for the specified scheme



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