public class JmsInitialContextFactory extends Object implements InitialContextFactory
ConnectionFactory
instances as well as a child context
called destinations which contain all of the current active
destinations, in child context depending on the QoS such as transient or
durable and queue or topic.Constructor and Description |
---|
JmsInitialContextFactory() |
Modifier and Type | Method and Description |
---|---|
protected JmsConnectionFactory |
createConnectionFactory(Map<String,String> properties)
Factory method to create a new connection factory using the given properties
|
protected JmsConnectionFactory |
createConnectionFactory(String name,
Map<String,String> defaults,
Hashtable<Object,Object> environment) |
protected ReadOnlyContext |
createContext(Hashtable<Object,Object> environment,
Map<String,Object> bindings) |
protected javax.jms.Queue |
createQueue(String name)
Factory method to create new Queue instances
|
protected void |
createQueues(Hashtable<Object,Object> environment,
Map<String,Object> bindings) |
protected javax.jms.Topic |
createTopic(String name)
Factory method to create new Topic instances
|
protected void |
createTopics(Hashtable<Object,Object> environment,
Map<String,Object> bindings) |
protected Map<String,String> |
getConnectionFactoryDefaults(Map<Object,Object> environment) |
protected List<String> |
getConnectionFactoryNames(Map<Object,Object> environment) |
protected Map<String,String> |
getConnectionFactoryProperties(String factoryName,
Map<Object,Object> environment) |
Context |
getInitialContext(Hashtable<?,?> environment) |
public Context getInitialContext(Hashtable<?,?> environment) throws NamingException
getInitialContext
in interface InitialContextFactory
NamingException
protected ReadOnlyContext createContext(Hashtable<Object,Object> environment, Map<String,Object> bindings)
protected JmsConnectionFactory createConnectionFactory(String name, Map<String,String> defaults, Hashtable<Object,Object> environment) throws URISyntaxException
URISyntaxException
protected List<String> getConnectionFactoryNames(Map<Object,Object> environment)
protected Map<String,String> getConnectionFactoryDefaults(Map<Object,Object> environment)
protected Map<String,String> getConnectionFactoryProperties(String factoryName, Map<Object,Object> environment)
protected void createQueues(Hashtable<Object,Object> environment, Map<String,Object> bindings)
protected void createTopics(Hashtable<Object,Object> environment, Map<String,Object> bindings)
protected javax.jms.Queue createQueue(String name)
protected javax.jms.Topic createTopic(String name)
protected JmsConnectionFactory createConnectionFactory(Map<String,String> properties)
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.