public class JNDIConfiguration extends AbstractConfiguration
| Constructor and Description |
|---|
JNDIConfiguration() |
JNDIConfiguration(javax.naming.InitialContext context) |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.ConnectionFactory |
getConnectionFactory()
The connection factory to use for sending/receiving messages.
|
java.lang.String |
getJmxPassword()
Password for the JMX-user.
|
java.util.Collection<javax.management.remote.JMXServiceURL> |
getJmxUrls()
The URL to the JMX connectors of the broker.
|
java.lang.String |
getJmxUser()
The user that is used in case of authenticated JMX connections.
|
protected java.lang.String |
getJndiString(java.lang.String name) |
makeConnectionFactory, makeJmxUrlspublic JNDIConfiguration()
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic JNDIConfiguration(javax.naming.InitialContext context)
public javax.jms.ConnectionFactory getConnectionFactory()
WebConsoleConfigurationgetConnectionFactory in interface WebConsoleConfigurationgetConnectionFactory in class AbstractConfigurationnullprotected java.lang.String getJndiString(java.lang.String name)
public java.util.Collection<javax.management.remote.JMXServiceURL> getJmxUrls()
WebConsoleConfigurationgetJmxUrls in interface WebConsoleConfigurationgetJmxUrls in class AbstractConfigurationnull, must contain at least one entrypublic java.lang.String getJmxPassword()
WebConsoleConfigurationgetJmxPassword in interface WebConsoleConfigurationgetJmxPassword in class AbstractConfigurationnull if no authenticationWebConsoleConfiguration.getJmxUser()public java.lang.String getJmxUser()
WebConsoleConfigurationgetJmxUser in interface WebConsoleConfigurationgetJmxUser in class AbstractConfigurationnull if no authentication should be used.Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.