|
||||||||||
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
NamingException
public JNDIConfiguration(InitialContext context)
Method Detail |
---|
public ConnectionFactory getConnectionFactory()
WebConsoleConfiguration
getConnectionFactory
in interface WebConsoleConfiguration
getConnectionFactory
in class AbstractConfiguration
null
protected String getJndiString(String name)
public Collection<JMXServiceURL> getJmxUrls()
WebConsoleConfiguration
getJmxUrls
in interface WebConsoleConfiguration
getJmxUrls
in class AbstractConfiguration
null
, must contain at least one entrypublic String getJmxPassword()
WebConsoleConfiguration
getJmxPassword
in interface WebConsoleConfiguration
getJmxPassword
in class AbstractConfiguration
null
if no authenticationWebConsoleConfiguration.getJmxUser()
public String getJmxUser()
WebConsoleConfiguration
getJmxUser
in interface WebConsoleConfiguration
getJmxUser
in class AbstractConfiguration
null
if no authentication should be used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |