|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.web.config.AbstractConfiguration
org.apache.activemq.web.config.JNDIConfiguration
public class JNDIConfiguration
Configuration based on JNDI values.
| Constructor Summary | |
|---|---|
JNDIConfiguration()
|
|
JNDIConfiguration(InitialContext context)
|
|
| 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 String |
getJndiString(String name)
|
| Methods inherited from class org.apache.activemq.web.config.AbstractConfiguration |
|---|
makeConnectionFactory, makeJmxUrls |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JNDIConfiguration()
throws NamingException
NamingExceptionpublic JNDIConfiguration(InitialContext context)
| Method Detail |
|---|
public ConnectionFactory getConnectionFactory()
WebConsoleConfiguration
getConnectionFactory in interface WebConsoleConfigurationgetConnectionFactory in class AbstractConfigurationnullprotected String getJndiString(String name)
public Collection<JMXServiceURL> getJmxUrls()
WebConsoleConfiguration
getJmxUrls in interface WebConsoleConfigurationgetJmxUrls in class AbstractConfigurationnull, must contain at least one entrypublic String getJmxPassword()
WebConsoleConfiguration
getJmxPassword in interface WebConsoleConfigurationgetJmxPassword in class AbstractConfigurationnull if no authenticationWebConsoleConfiguration.getJmxUser()public String getJmxUser()
WebConsoleConfiguration
getJmxUser in interface WebConsoleConfigurationgetJmxUser in class AbstractConfigurationnull if no authentication should be used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||