org.exolab.jms.config
Class JndiConfigurationFactory
java.lang.Object
|
+--org.exolab.jms.config.JndiConfigurationFactory
- public class JndiConfigurationFactory
- extends java.lang.Object
This factory creates appropriate JndiConfiguration
objects for a
given SchemeType
.
- Version:
- $Revision: 1.11 $ $Date: 2003/08/07 13:32:56 $
- Author:
- Tim Anderson
- See Also:
Configuration
Method Summary |
static org.exolab.jms.config.JndiConfiguration |
create(org.exolab.jms.config.Configuration config)
Returns the JNDI configuration deriving the settings from the supplied
configuration. |
static org.exolab.jms.config.JndiConfiguration |
create(org.exolab.jms.config.Connector connector,
org.exolab.jms.config.Configuration config)
Returns the JNDI configuration for a particular connector, deriving
the settings from the supplied configuration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiConfigurationFactory
public JndiConfigurationFactory()
create
public static org.exolab.jms.config.JndiConfiguration create(org.exolab.jms.config.Configuration config)
- Returns the JNDI configuration deriving the settings from the supplied
configuration. If more than one connector is configured, the first
will be selected
- Parameters:
config
- the configuration to derive settings from- Returns:
- the JNDI configuration
- Throws:
java.lang.IllegalArgumentException
- if config is null
create
public static org.exolab.jms.config.JndiConfiguration create(org.exolab.jms.config.Connector connector,
org.exolab.jms.config.Configuration config)
- Returns the JNDI configuration for a particular connector, deriving
the settings from the supplied configuration
- Parameters:
connector
- the connector to return the JNDI configuration forconfig
- the configuration to derive settings from- Returns:
- the JNDI configuration
- Throws:
java.lang.IllegalArgumentException
- if any argument is null
Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.