|
||||||||||
| 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 | |
|---|---|
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. |
| 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 javax.jms.ConnectionFactory getConnectionFactory()
WebConsoleConfiguration
getConnectionFactory in interface WebConsoleConfigurationnullpublic java.lang.String getJmxPassword()
WebConsoleConfiguration
getJmxPassword in interface WebConsoleConfigurationnull if no authenticationWebConsoleConfiguration.getJmxUser()public java.util.Collection<javax.management.remote.JMXServiceURL> getJmxUrls()
WebConsoleConfiguration
getJmxUrls in interface WebConsoleConfigurationnull, must contain at least one entrypublic java.lang.String getJmxUser()
WebConsoleConfiguration
getJmxUser 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 ok
nullprotected 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||