1 package com.scalagent.joram.osgi.server.service; 2 3 import java.io.Reader ; 4 import java.util.List ; 5 6 import org.objectweb.joram.client.jms.ConnectionFactory; 7 import org.objectweb.joram.client.jms.Queue; 8 import org.objectweb.joram.client.jms.Topic; 9 10 13 public interface JoramAdmin { 14 17 public ConnectionFactory getLocalConnectionFactory() throws Exception ; 18 19 22 public void setRootUserName(String root); 23 24 27 public void setRootPassword(String password); 28 29 32 public boolean executeAdminXML(Reader reader) throws Exception ; 33 34 39 public void createUser(String name, String password) throws Exception ; 40 41 49 public Queue createQueue(String name) throws Exception ; 50 51 57 public Topic createTopic(String name) throws Exception ; 58 59 62 public List getDestinations() throws Exception ; 63 64 67 public List getUsers() throws Exception ; 68 } 69 | Popular Tags |