⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 joramadmin.java

📁 一个类似于openJMS分布在ObjectWeb之下的JMS消息中间件。
💻 JAVA
字号:
package com.scalagent.joram.osgi.server.service;import java.io.Reader;import java.util.List;import org.objectweb.joram.client.jms.ConnectionFactory;import org.objectweb.joram.client.jms.Queue;import org.objectweb.joram.client.jms.Topic;/** * Interface of the OSGI service that enables to .. */public interface JoramAdmin {  /**   *   */  public ConnectionFactory getLocalConnectionFactory() throws Exception;  /**   *   */  public void setRootUserName(String root);  /**   *   */  public void setRootPassword(String password);  /**   *   */  public boolean executeAdminXML(Reader reader) throws Exception;  /**   * Creates or retrieves a user on the underlying JORAM server.   *   * @exception Exception   If the creation fails.   */  public void createUser(String name, String password) throws Exception;  /**   * Creates or retrieves a queue destination on the underlying JORAM server,   * (re)binds the corresponding <code>Queue</code> instance.   *   * @param name       The name of the queue.   *   * @exception Exception   If the creation fails.   */  public Queue createQueue(String name) throws Exception;  /**   * Creates or retrieves a topic destination on the underlying JORAM server,   * (re)binds the corresponding <code>Topic</code> instance.   *   * @exception Exception   If the creation fails.   */  public Topic createTopic(String name) throws Exception;  /**   * Returns the list of all destinations that exist on the server.   */  public List getDestinations() throws Exception;  /**   * Returns the list of all users that exist on the server.   */  public List getUsers() throws Exception;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -