|
||||||||||
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(Hashtable environment)
Factory method to create a new connection factory from the given environment |
protected ActiveMQConnectionFactory |
createConnectionFactory(String name,
Hashtable environment)
|
protected ReadOnlyContext |
createContext(Hashtable environment,
Map data)
|
protected javax.jms.Queue |
createQueue(String name)
Factory method to create new Queue instances |
protected void |
createQueues(Map data,
Hashtable environment)
|
protected javax.jms.Topic |
createTopic(String name)
Factory method to create new Topic instances |
protected void |
createTopics(Map data,
Hashtable environment)
|
protected String[] |
getConnectionFactoryNames(Map environment)
|
String |
getConnectionPrefix()
|
Context |
getInitialContext(Hashtable environment)
|
String |
getQueuePrefix()
|
String |
getTopicPrefix()
|
void |
setConnectionPrefix(String connectionPrefix)
|
void |
setQueuePrefix(String queuePrefix)
|
void |
setTopicPrefix(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 Context getInitialContext(Hashtable environment) throws NamingException
getInitialContext
in interface InitialContextFactory
NamingException
public String getTopicPrefix()
public void setTopicPrefix(String topicPrefix)
public String getQueuePrefix()
public void setQueuePrefix(String queuePrefix)
protected ReadOnlyContext createContext(Hashtable environment, Map data)
protected ActiveMQConnectionFactory createConnectionFactory(String name, Hashtable environment) throws URISyntaxException
URISyntaxException
protected String[] getConnectionFactoryNames(Map environment)
protected void createQueues(Map data, Hashtable environment)
protected void createTopics(Map data, Hashtable environment)
protected javax.jms.Queue createQueue(String name)
protected javax.jms.Topic createTopic(String name)
protected ActiveMQConnectionFactory createConnectionFactory(Hashtable environment) throws URISyntaxException
URISyntaxException
public String getConnectionPrefix()
public void setConnectionPrefix(String connectionPrefix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |