package jmsfrom4gl;
import javax.jms.TopicConnectionFactory; import javax.jms.QueueConnectionFactory; import javax.jms.Topic; import javax.jms.Queue; public class AdminObjectFinder { public TopicConnectionFactory getTopicConnectionFactory(String name) throws Exception { TopicConnectionFactory factory = null; // Write code to populate factory return factory; } public QueueConnectionFactory getQueueConnectionFactory(String name) throws Exception { QueueConnectionFactory factory = null; // Write code to populate factory return factory; } public Topic getTopic(String name) throws Exception { Topic topic = null; // Write code to populate topic return topic; } public Queue getQueue(String name) throws Exception { Queue queue = null; // Write code to populate queue return queue; } |