1 24 25 package org.objectweb.jtests.jms.admin; 26 27 import javax.naming.*; 28 29 35 public interface Admin { 36 37 42 public String getName(); 43 44 50 public InitialContext createInitialContext() 51 throws NamingException; 52 53 60 public void createConnectionFactory(String name); 61 62 68 public void createQueueConnectionFactory(String name); 69 70 76 public void createTopicConnectionFactory(String name); 77 78 84 public void createQueue(String name); 85 86 92 public void createTopic(String name); 93 94 99 public void deleteQueue(String name); 100 101 106 public void deleteTopic(String name); 107 108 114 public void deleteConnectionFactory (String name); 115 116 121 public void deleteQueueConnectionFactory (String name); 122 123 128 public void deleteTopicConnectionFactory (String name); 129 } 130 | Popular Tags |