|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.jndi.ActiveMQInitialContextFactory
public class ActiveMQInitialContextFactory
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.
Constructor Summary | |
---|---|
ActiveMQInitialContextFactory()
|
Method Summary | |
---|---|
protected ActiveMQConnectionFactory |
createConnectionFactory(java.util.Hashtable environment)
Factory method to create a new connection factory from the given environment |
protected ActiveMQConnectionFactory |
createConnectionFactory(java.lang.String name,
java.util.Hashtable environment)
|
protected ReadOnlyContext |
createContext(java.util.Hashtable environment,
java.util.Map data)
|
protected javax.jms.Queue |
createQueue(java.lang.String name)
Factory method to create new Queue instances |
protected void |
createQueues(java.util.Map data,
java.util.Hashtable environment)
|
protected javax.jms.Topic |
createTopic(java.lang.String name)
Factory method to create new Topic instances |
protected void |
createTopics(java.util.Map data,
java.util.Hashtable environment)
|
protected java.lang.String[] |
getConnectionFactoryNames(java.util.Map environment)
|
java.lang.String |
getConnectionPrefix()
|
javax.naming.Context |
getInitialContext(java.util.Hashtable environment)
|
java.lang.String |
getQueuePrefix()
|
java.lang.String |
getTopicPrefix()
|
void |
setConnectionPrefix(java.lang.String connectionPrefix)
|
void |
setQueuePrefix(java.lang.String queuePrefix)
|
void |
setTopicPrefix(java.lang.String topicPrefix)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActiveMQInitialContextFactory()
Method Detail |
---|
public javax.naming.Context getInitialContext(java.util.Hashtable environment) throws javax.naming.NamingException
getInitialContext
in interface javax.naming.spi.InitialContextFactory
javax.naming.NamingException
public java.lang.String getTopicPrefix()
public void setTopicPrefix(java.lang.String topicPrefix)
public java.lang.String getQueuePrefix()
public void setQueuePrefix(java.lang.String queuePrefix)
protected ReadOnlyContext createContext(java.util.Hashtable environment, java.util.Map data)
protected ActiveMQConnectionFactory createConnectionFactory(java.lang.String name, java.util.Hashtable environment) throws java.net.URISyntaxException
java.net.URISyntaxException
protected java.lang.String[] getConnectionFactoryNames(java.util.Map environment)
protected void createQueues(java.util.Map data, java.util.Hashtable environment)
protected void createTopics(java.util.Map data, java.util.Hashtable environment)
protected javax.jms.Queue createQueue(java.lang.String name)
protected javax.jms.Topic createTopic(java.lang.String name)
protected ActiveMQConnectionFactory createConnectionFactory(java.util.Hashtable environment) throws java.net.URISyntaxException
java.net.URISyntaxException
public java.lang.String getConnectionPrefix()
public void setConnectionPrefix(java.lang.String connectionPrefix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |