org.apache.cactus.util
Class JmsConfiguration

java.lang.Object
  extended by org.apache.cactus.internal.configuration.ConfigurationInitializer
      extended by org.apache.cactus.util.JmsConfiguration

public class JmsConfiguration
extends ConfigurationInitializer

Provides access to the Cactus configuration parameters related to the JMS Redirector.

Since:
1.4
Version:
$Id$
Author:
Vincent Massol

Constructor Summary
JmsConfiguration()
           
 
Method Summary
static java.lang.String getJmsConnectionFactoryJndiName()
           
static java.lang.String getJndiInitialContextFactory()
           
static java.lang.String getJndiProviderURL()
           
static java.lang.String getJndiSecurityCredentials()
           
static java.lang.String getJndiSecurityPrincipal()
           
static java.lang.String getJndiUrlPkgPrefixes()
           
 
Methods inherited from class org.apache.cactus.internal.configuration.ConfigurationInitializer
initialize, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsConfiguration

public JmsConfiguration()
Method Detail

getJndiInitialContextFactory

public static java.lang.String getJndiInitialContextFactory()
Returns:
the JNDI Server Initial Context Factory class (from which the Queue connection factory will be retrieved)

getJndiProviderURL

public static java.lang.String getJndiProviderURL()
Returns:
the JNDI Server URL (from which the Queue connection factory will be retrieved)

getJndiUrlPkgPrefixes

public static java.lang.String getJndiUrlPkgPrefixes()
Returns:
the JNDI Server URL (from which the Queue connection factory will be retrieved)

getJndiSecurityPrincipal

public static java.lang.String getJndiSecurityPrincipal()
Returns:
the JNDI Server user name (from which the Queue connection factory will be retrieved)

getJndiSecurityCredentials

public static java.lang.String getJndiSecurityCredentials()
Returns:
the JNDI Server user password (from which the Queue connection factory will be retrieved)

getJmsConnectionFactoryJndiName

public static java.lang.String getJmsConnectionFactoryJndiName()
Returns:
the JNDI Name for the JMS Connection Factory to use (ex: "javax.jms.QueueConnectionFactory")


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.