1 7 package org.ejtools.jndi.browser.model.service; 8 9 import javax.jms.QueueConnectionFactory ; 10 import javax.jms.TopicConnectionFactory ; 11 12 20 public interface JMSConnectionService 21 { 22 23 public final static String QUEUE_CONNECTION_FACTORY = "QUEUE"; 24 25 public final static String TOPIC_CONNECTION_FACTORY = "TOPIC"; 26 27 28 33 public QueueConnectionFactory getDefaultQueueConnectionFactory(); 34 35 36 41 public TopicConnectionFactory getDefaultTopicConnectionFactory(); 42 43 44 49 public void selectFactory(String type); 50 } 51 52 | Popular Tags |