public class FileJMSConfiguration extends JMSConfigurationImpl implements Deployable
Constructor and Description |
---|
FileJMSConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
buildService(ActiveMQSecurityManager securityManager,
MBeanServer mBeanServer,
Map<String,Deployable> deployables,
Map<String,ActiveMQComponent> components) |
String |
getRootElement() |
String |
getSchema() |
boolean |
isParsed() |
protected void |
newConfig(ArrayList<JMSQueueConfiguration> queues,
ArrayList<TopicConfiguration> topics,
String domain) |
protected static JMSQueueConfiguration |
newQueue(String queueName,
String selectorString,
boolean durable) |
protected static TopicConfiguration |
newTopic(String topicName) |
void |
parse(Element config,
URL url) |
void |
parseConfiguration(Node rootnode)
Parse the JMS Configuration XML
|
static JMSQueueConfiguration |
parseQueueConfiguration(Node node)
Parse the Queue Configuration node as a QueueConfiguration object
|
static TopicConfiguration |
parseTopicConfiguration(Node node)
Parse the topic node as a TopicConfiguration object
|
getConfigurationUrl, getConnectionFactoryConfigurations, getDomain, getQueueConfigurations, getTopicConfigurations, setConfigurationUrl, setConnectionFactoryConfigurations, setDomain, setQueueConfigurations, setTopicConfigurations
public void parse(Element config, URL url) throws Exception
parse
in interface Deployable
Exception
public boolean isParsed()
isParsed
in interface Deployable
public String getRootElement()
getRootElement
in interface Deployable
public void buildService(ActiveMQSecurityManager securityManager, MBeanServer mBeanServer, Map<String,Deployable> deployables, Map<String,ActiveMQComponent> components) throws Exception
buildService
in interface Deployable
Exception
public String getSchema()
getSchema
in interface Deployable
public void parseConfiguration(Node rootnode) throws Exception
Exception
public static TopicConfiguration parseTopicConfiguration(Node node) throws Exception
node
- Exception
public static JMSQueueConfiguration parseQueueConfiguration(Node node) throws Exception
node
- Exception
protected static TopicConfiguration newTopic(String topicName)
topicName
- protected static JMSQueueConfiguration newQueue(String queueName, String selectorString, boolean durable)
queueName
- selectorString
- durable
- protected void newConfig(ArrayList<JMSQueueConfiguration> queues, ArrayList<TopicConfiguration> topics, String domain)
queues
- topics
- domain
- Copyright © 2017 JBoss by Red Hat. All rights reserved.