public abstract class AbstractConfiguration extends java.lang.Object implements WebConsoleConfiguration
| Constructor and Description |
|---|
AbstractConfiguration() |
| 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 javax.jms.ConnectionFactory |
makeConnectionFactory(java.lang.String jmsUrl,
java.lang.String jmsUser,
java.lang.String jmsPassword)
Creates the ActiveMQ-ConnectionFactory.
|
protected java.util.Collection<javax.management.remote.JMXServiceURL> |
makeJmxUrls(java.lang.String jmxUrls)
Splits the JMX-Url string into a series of JMSServiceURLs.
|
public javax.jms.ConnectionFactory getConnectionFactory()
WebConsoleConfigurationgetConnectionFactory in interface WebConsoleConfigurationnullpublic java.lang.String getJmxPassword()
WebConsoleConfigurationgetJmxPassword in interface WebConsoleConfigurationnull if no authenticationWebConsoleConfiguration.getJmxUser()public java.util.Collection<javax.management.remote.JMXServiceURL> getJmxUrls()
WebConsoleConfigurationgetJmxUrls in interface WebConsoleConfigurationnull, must contain at least one entrypublic java.lang.String getJmxUser()
WebConsoleConfigurationgetJmxUser in interface WebConsoleConfigurationnull if no authentication should be used.protected javax.jms.ConnectionFactory makeConnectionFactory(java.lang.String jmsUrl,
java.lang.String jmsUser,
java.lang.String jmsPassword)
jmsUrl - not nulljmsUser - null if no authenticationjmsPassword - null is oknullprotected java.util.Collection<javax.management.remote.JMXServiceURL> makeJmxUrls(java.lang.String jmxUrls)
jmxUrls - the JMX-url, multiple URLs are separated by commas.null, contains at least one element.Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.