|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.activemq.jndi.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 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)
|
Context |
getInitialContext(Hashtable environment)
|
String |
getQueuePrefix()
|
String |
getTopicPrefix()
|
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 void createQueues(Map data, Hashtable environment)
protected void createTopics(Map data, Hashtable environment)
protected Queue createQueue(String name)
protected Topic createTopic(String name)
protected ActiveMQConnectionFactory createConnectionFactory(Hashtable environment)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |