public abstract class AbstractConfiguration extends Object implements WebConsoleConfiguration
| Constructor and Description |
|---|
AbstractConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionFactory |
getConnectionFactory()
The connection factory to use for sending/receiving messages.
|
String |
getJmxPassword()
Password for the JMX-user.
|
Collection<JMXServiceURL> |
getJmxUrls()
The URL to the JMX connectors of the broker.
|
String |
getJmxUser()
The user that is used in case of authenticated JMX connections.
|
protected ConnectionFactory |
makeConnectionFactory(String jmsUrl,
String jmsUser,
String jmsPassword)
Creates the ActiveMQ-ConnectionFactory.
|
protected Collection<JMXServiceURL> |
makeJmxUrls(String jmxUrls)
Splits the JMX-Url string into a series of JMSServiceURLs.
|
public AbstractConfiguration()
public ConnectionFactory getConnectionFactory()
WebConsoleConfigurationgetConnectionFactory in interface WebConsoleConfigurationnullpublic String getJmxPassword()
WebConsoleConfigurationgetJmxPassword in interface WebConsoleConfigurationnull if no authenticationWebConsoleConfiguration.getJmxUser()public Collection<JMXServiceURL> getJmxUrls()
WebConsoleConfigurationgetJmxUrls in interface WebConsoleConfigurationnull, must contain at least one entrypublic String getJmxUser()
WebConsoleConfigurationgetJmxUser in interface WebConsoleConfigurationnull if no authentication should be used.protected ConnectionFactory makeConnectionFactory(String jmsUrl, String jmsUser, String jmsPassword)
jmsUrl - not nulljmsUser - null if no authenticationjmsPassword - null is oknullprotected Collection<JMXServiceURL> makeJmxUrls(String jmxUrls)
jmxUrls - the JMX-url, multiple URLs are separated by commas.null, contains at least one element.Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.