public class PropertiesFileInitialContextFactory extends Object implements InitialContextFactory
Constructor and Description |
---|
PropertiesFileInitialContextFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
createConnectionFactories(Map data,
Hashtable environment) |
protected ReadOnlyContext |
createContext(Map data,
Hashtable environment) |
protected javax.jms.Destination |
createDestination(String str)
Factory method to create new Destination instances from an AMQP BindingURL
|
protected void |
createDestinations(Map data,
Hashtable environment) |
protected javax.jms.ConnectionFactory |
createFactory(String url)
Factory method to create new Connection Factory instances
|
protected javax.jms.Destination |
createHeaderExchange(Object value)
Factory method to create new HeaderExcahnge instances
|
protected javax.jms.Queue |
createQueue(Object value)
Factory method to create new Queue instances
|
protected void |
createQueues(Map data,
Hashtable environment) |
protected javax.jms.Topic |
createTopic(Object value)
Factory method to create new Topic instances
|
protected void |
createTopics(Map data,
Hashtable environment) |
String |
getConnectionPrefix() |
String |
getDestinationPrefix() |
Context |
getInitialContext(Hashtable environment) |
String |
getQueuePrefix() |
String |
getTopicPrefix() |
void |
setConnectionPrefix(String connectionPrefix) |
void |
setDestinationPrefix(String destinationPrefix) |
void |
setQueuePrefix(String queuePrefix) |
void |
setTopicPrefix(String topicPrefix) |
public Context getInitialContext(Hashtable environment) throws NamingException
getInitialContext
in interface InitialContextFactory
NamingException
protected ReadOnlyContext createContext(Map data, Hashtable environment)
protected void createConnectionFactories(Map data, Hashtable environment) throws ConfigurationException
ConfigurationException
protected void createDestinations(Map data, Hashtable environment) throws ConfigurationException
ConfigurationException
protected javax.jms.ConnectionFactory createFactory(String url) throws ConfigurationException
ConfigurationException
protected javax.jms.Destination createDestination(String str) throws ConfigurationException
ConfigurationException
protected javax.jms.Queue createQueue(Object value)
protected javax.jms.Topic createTopic(Object value)
protected javax.jms.Destination createHeaderExchange(Object value)
public String getConnectionPrefix()
public void setConnectionPrefix(String connectionPrefix)
public String getDestinationPrefix()
public void setDestinationPrefix(String destinationPrefix)
public String getQueuePrefix()
public void setQueuePrefix(String queuePrefix)
public String getTopicPrefix()
public void setTopicPrefix(String topicPrefix)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.