Save This Page
Home » apache-activemq-5.1.0-src » org.apache » activemq » jndi » [javadoc | source]
org.apache.activemq.jndi
public class: ActiveMQInitialContextFactory [javadoc | source]
java.lang.Object
   org.apache.activemq.jndi.ActiveMQInitialContextFactory

All Implemented Interfaces:
    InitialContextFactory

Direct Known Subclasses:
    ActiveMQWASInitialContextFactory

A factory of the ActiveMQ InitialContext which contains 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.
Method from org.apache.activemq.jndi.ActiveMQInitialContextFactory Summary:
createConnectionFactory,   createConnectionFactory,   createContext,   createQueue,   createQueues,   createTopic,   createTopics,   getConnectionFactoryNames,   getConnectionPrefix,   getInitialContext,   getQueuePrefix,   getTopicPrefix,   setConnectionPrefix,   setQueuePrefix,   setTopicPrefix
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.jndi.ActiveMQInitialContextFactory Detail:
 protected ActiveMQConnectionFactory createConnectionFactory(Hashtable environment) throws URISyntaxException 
    Factory method to create a new connection factory from the given environment
 protected ActiveMQConnectionFactory createConnectionFactory(String name,
    Hashtable environment) throws URISyntaxException 
 protected ReadOnlyContext createContext(Hashtable environment,
    Map data) 
 protected Queue createQueue(String name) 
    Factory method to create new Queue instances
 protected  void createQueues(Map data,
    Hashtable environment) 
 protected Topic createTopic(String name) 
    Factory method to create new Topic instances
 protected  void createTopics(Map data,
    Hashtable environment) 
 protected String[] getConnectionFactoryNames(Map environment) 
 public String getConnectionPrefix() 
 public Context getInitialContext(Hashtable environment) throws NamingException 
 public String getQueuePrefix() 
 public String getTopicPrefix() 
 public  void setConnectionPrefix(String connectionPrefix) 
 public  void setQueuePrefix(String queuePrefix) 
 public  void setTopicPrefix(String topicPrefix)