org.apache.activemq.web.config
Class SystemPropertiesConfiguration

java.lang.Object
  extended by org.apache.activemq.web.config.AbstractConfiguration
      extended by org.apache.activemq.web.config.SystemPropertiesConfiguration
All Implemented Interfaces:
WebConsoleConfiguration

public class SystemPropertiesConfiguration
extends AbstractConfiguration

Configuration based on system-properties.


Field Summary
static String PROPERTY_JMS_PASSWORD
           
static String PROPERTY_JMS_URL
           
static String PROPERTY_JMS_USER
           
static String PROPERTY_JMX_PASSWORD
           
static String PROPERTY_JMX_URL
           
static String PROPERTY_JMX_USER
           
 
Constructor Summary
SystemPropertiesConfiguration()
           
 
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.
 
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
 

Field Detail

PROPERTY_JMS_URL

public static final String PROPERTY_JMS_URL
See Also:
Constant Field Values

PROPERTY_JMS_USER

public static final String PROPERTY_JMS_USER
See Also:
Constant Field Values

PROPERTY_JMS_PASSWORD

public static final String PROPERTY_JMS_PASSWORD
See Also:
Constant Field Values

PROPERTY_JMX_URL

public static final String PROPERTY_JMX_URL
See Also:
Constant Field Values

PROPERTY_JMX_USER

public static final String PROPERTY_JMX_USER
See Also:
Constant Field Values

PROPERTY_JMX_PASSWORD

public static final String PROPERTY_JMX_PASSWORD
See Also:
Constant Field Values
Constructor Detail

SystemPropertiesConfiguration

public SystemPropertiesConfiguration()
Method Detail

getConnectionFactory

public ConnectionFactory getConnectionFactory()
Description copied from interface: WebConsoleConfiguration
The connection factory to use for sending/receiving messages.

Specified by:
getConnectionFactory in interface WebConsoleConfiguration
Overrides:
getConnectionFactory in class AbstractConfiguration
Returns:
not null

getJmxUrls

public Collection<JMXServiceURL> getJmxUrls()
Description copied from interface: WebConsoleConfiguration
The URL to the JMX connectors of the broker. The names of any failover (master-slave configuration) must also be specified.

Specified by:
getJmxUrls in interface WebConsoleConfiguration
Overrides:
getJmxUrls in class AbstractConfiguration
Returns:
not null, must contain at least one entry

getJmxPassword

public String getJmxPassword()
Description copied from interface: WebConsoleConfiguration
Password for the JMX-user.

Specified by:
getJmxPassword in interface WebConsoleConfiguration
Overrides:
getJmxPassword in class AbstractConfiguration
Returns:
null if no authentication
See Also:
WebConsoleConfiguration.getJmxUser()

getJmxUser

public String getJmxUser()
Description copied from interface: WebConsoleConfiguration
The user that is used in case of authenticated JMX connections. The user must be the same for all the brokers.

Specified by:
getJmxUser in interface WebConsoleConfiguration
Overrides:
getJmxUser in class AbstractConfiguration
Returns:
null if no authentication should be used.


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.