org.apache.qpid.server.configuration
Class TopicConfiguration

java.lang.Object
  extended by org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
      extended by org.apache.qpid.server.configuration.TopicConfiguration
All Implemented Interfaces:
ExchangeConfigurationPlugin

public class TopicConfiguration
extends ConfigurationPlugin
implements ExchangeConfigurationPlugin


Nested Class Summary
static class TopicConfiguration.TopicConfigurationFactory
           
 
Field Summary
(package private)  Map<String,Map<String,TopicConfig>> _subscriptions
           
(package private)  Map<String,TopicConfig> _topics
           
static ConfigurationPluginFactory FACTORY
           
 
Fields inherited from class org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
_configuration, _logger
 
Constructor Summary
TopicConfiguration()
           
 
Method Summary
 String formatToString()
           
 ConfigurationPlugin getConfiguration(AMQQueue queue)
          This processes the given queue and apply configuration in the following order: Global Topic Values -> Topic Values -> Subscription Values
 String[] getElementsProcessed()
          The Elements that this Plugin can process.
 void validateConfiguration()
          Performs configuration validation.
 
Methods inherited from class org.apache.qpid.server.configuration.plugins.ConfigurationPlugin
addConfiguration, contains, containsBoolean, containsInt, containsLong, containsPositiveLong, getBooleanValue, getBooleanValue, getConfig, getConfiguration, getDoubleValue, getDoubleValue, getIntValue, getIntValue, getListValue, getListValue, getLongValue, getLongValue, getStringValue, getStringValue, hasConfiguration, mergeConfiguration, setConfiguration, showKeys, toString, validatePositiveLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FACTORY

public static final ConfigurationPluginFactory FACTORY

_topics

Map<String,TopicConfig> _topics

_subscriptions

Map<String,Map<String,TopicConfig>> _subscriptions
Constructor Detail

TopicConfiguration

public TopicConfiguration()
Method Detail

getElementsProcessed

public String[] getElementsProcessed()
Description copied from class: ConfigurationPlugin
The Elements that this Plugin can process. For a Queues plugin that would be a list containing:

Specified by:
getElementsProcessed in class ConfigurationPlugin

validateConfiguration

public void validateConfiguration()
                           throws ConfigurationException
Description copied from class: ConfigurationPlugin
Performs configuration validation.

Overrides:
validateConfiguration in class ConfigurationPlugin
Throws:
ConfigurationException

formatToString

public String formatToString()
Overrides:
formatToString in class ConfigurationPlugin

getConfiguration

public ConfigurationPlugin getConfiguration(AMQQueue queue)
This processes the given queue and apply configuration in the following order: Global Topic Values -> Topic Values -> Subscription Values

Specified by:
getConfiguration in interface ExchangeConfigurationPlugin
Parameters:
queue -
Returns:


Licensed to the Apache Software Foundation