|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.web.config.AbstractConfiguration
public abstract class AbstractConfiguration
Base class for configurations.
| Constructor Summary | |
|---|---|
AbstractConfiguration()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractConfiguration()
| Method Detail |
|---|
public ConnectionFactory getConnectionFactory()
WebConsoleConfiguration
getConnectionFactory in interface WebConsoleConfigurationnullpublic String getJmxPassword()
WebConsoleConfiguration
getJmxPassword in interface WebConsoleConfigurationnull if no authenticationWebConsoleConfiguration.getJmxUser()public Collection<JMXServiceURL> getJmxUrls()
WebConsoleConfiguration
getJmxUrls in interface WebConsoleConfigurationnull, must contain at least one entrypublic String getJmxUser()
WebConsoleConfiguration
getJmxUser 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 ok
nullprotected Collection<JMXServiceURL> makeJmxUrls(String jmxUrls)
jmxUrls - the JMX-url, multiple URLs are separated by commas.
null, contains at least one element.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||