public class JMSServerConfigParserImpl extends Object implements JMSServerConfigParser
Constructor and Description |
---|
JMSServerConfigParserImpl() |
Modifier and Type | Method and Description |
---|---|
protected JMSConfiguration |
newConfig(ArrayList<JMSQueueConfiguration> queues,
ArrayList<TopicConfiguration> topics,
ArrayList<ConnectionFactoryConfiguration> cfs,
String domain)
hook for integration layers
|
protected JMSQueueConfiguration |
newQueue(String queueName,
String selectorString,
boolean durable,
String[] jndiArray)
hook for integration layers
|
protected TopicConfiguration |
newTopic(String topicName,
String[] strBindings)
hook for integration layers
|
JMSConfiguration |
parseConfiguration(InputStream stream)
Parse the JMS Configuration XML as a JMSConfiguration object
|
JMSConfiguration |
parseConfiguration(Node rootnode)
Parse the JMS Configuration XML as a JMSConfiguration object
|
ConnectionFactoryConfiguration |
parseConnectionFactoryConfiguration(Node node)
Parse the Connection Configuration node as a ConnectionFactoryConfiguration object
|
JMSQueueConfiguration |
parseQueueConfiguration(Node node)
Parse the Queue Configuration node as a QueueConfiguration object
|
TopicConfiguration |
parseTopicConfiguration(Node node)
Parse the topic node as a TopicConfiguration object
|
protected static final String NAME_ATTR
public JMSConfiguration parseConfiguration(InputStream stream) throws Exception
parseConfiguration
in interface JMSServerConfigParser
Exception
public JMSConfiguration parseConfiguration(Node rootnode) throws Exception
parseConfiguration
in interface JMSServerConfigParser
Exception
public TopicConfiguration parseTopicConfiguration(Node node) throws Exception
parseTopicConfiguration
in interface JMSServerConfigParser
node
- Exception
public JMSQueueConfiguration parseQueueConfiguration(Node node) throws Exception
parseQueueConfiguration
in interface JMSServerConfigParser
node
- Exception
public ConnectionFactoryConfiguration parseConnectionFactoryConfiguration(Node node) throws Exception
parseConnectionFactoryConfiguration
in interface JMSServerConfigParser
node
- Exception
protected TopicConfiguration newTopic(String topicName, String[] strBindings)
topicName
- strBindings
- protected JMSQueueConfiguration newQueue(String queueName, String selectorString, boolean durable, String[] jndiArray)
queueName
- selectorString
- durable
- jndiArray
- protected JMSConfiguration newConfig(ArrayList<JMSQueueConfiguration> queues, ArrayList<TopicConfiguration> topics, ArrayList<ConnectionFactoryConfiguration> cfs, String domain)
queues
- topics
- cfs
- domain
- Copyright © 2012 JBoss by Red Hat. All Rights Reserved.