Commit 346b804b authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Renames org.ow2.joram.client in org.ow2.joram.jakarta.

parent 49db714c
......@@ -34,14 +34,12 @@ import jakarta.jms.TopicConnectionFactory;
import jakarta.admin.Admin;
import org.ow2.joram.client.jms.Queue;
import org.ow2.joram.client.jms.Topic;
import org.ow2.joram.client.jms.admin.AdminException;
import org.ow2.joram.client.jms.admin.AdminModule;
import org.ow2.joram.client.jms.admin.User;
import org.ow2.joram.client.jms.tcp.QueueTcpConnectionFactory;
import org.ow2.joram.client.jms.tcp.TcpConnectionFactory;
import org.ow2.joram.client.jms.tcp.TopicTcpConnectionFactory;
import org.ow2.joram.jakarta.jms.Queue;
import org.ow2.joram.jakarta.jms.Topic;
import org.ow2.joram.jakarta.jms.admin.AdminException;
import org.ow2.joram.jakarta.jms.admin.AdminModule;
import org.ow2.joram.jakarta.jms.admin.User;
import org.ow2.joram.jakarta.jms.tcp.TcpConnectionFactory;
public class JoramAdmin implements Admin {
private String name = "JORAM";
......@@ -64,11 +62,11 @@ public class JoramAdmin implements Admin {
}
public QueueConnectionFactory createQueueConnectionFactory(String name) throws ConnectException {
return QueueTcpConnectionFactory.create();
return TcpConnectionFactory.create();
}
public TopicConnectionFactory createTopicConnectionFactory(String name) throws ConnectException {
return TopicTcpConnectionFactory.create();
return TcpConnectionFactory.create();
}
public Queue createQueue(String name) throws ConnectException, AdminException {
......@@ -87,11 +85,11 @@ public class JoramAdmin implements Admin {
}
public void deleteQueue(jakarta.jms.Destination queue) throws ConnectException, AdminException, JMSException {
((org.ow2.joram.client.jms.Destination)queue).delete();
((org.ow2.joram.jakarta.jms.Destination)queue).delete();
}
public void deleteTopic(jakarta.jms.Destination topic) throws ConnectException, AdminException, JMSException {
((org.ow2.joram.client.jms.Destination)topic).delete();
((org.ow2.joram.jakarta.jms.Destination)topic).delete();
}
public void deleteConnectionFactory(String name) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment