Package org.objectweb.joram.shared.admin

Examples of org.objectweb.joram.shared.admin.SetWriter


      } catch (Exception exc) {
        if (logger.isLoggable(BasicLevel.ERROR))
          logger.log(BasicLevel.ERROR, "JoramHelper.createDestination, Cannot set FreeReader", exc);
      }
      try {
        AdminTopic.setRightAndSave(new SetWriter(null, destId.toString()), null, "-1");
      } catch (Exception exc) {
        if (logger.isLoggable(BasicLevel.ERROR))
          logger.log(BasicLevel.ERROR, "JoramHelper.createDestination, Cannot set FreeWriter", exc);
      }
    }
View Full Code Here


  }

  public void setWriter(User user) throws ConnectException, AdminException {
    for (Enumeration dests = cluster.elements(); dests.hasMoreElements();) {
      Destination dest = (Destination) dests.nextElement();
      getWrapper().doRequest(new SetWriter(user.getProxyId(), dest.getName()));
    }
  }
View Full Code Here

  }

  public void setFreeWriting() throws ConnectException, AdminException {
    for (Enumeration dests = cluster.elements(); dests.hasMoreElements();) {
      Destination dest = (Destination) dests.nextElement();
      getWrapper().doRequest(new SetWriter(null, dest.getName()));
    }
  }
View Full Code Here

   *
   * @exception ConnectException  If the administration connection is closed or broken.
   * @exception AdminException  If the request fails.
   */
  public void setFreeWriting() throws ConnectException, AdminException {
    doRequest(new SetWriter(null, getName()));
  }
View Full Code Here

   *
   * @exception ConnectException  If the administration connection is closed or broken.
   * @exception AdminException  If the request fails.
   */
  public void setWriter(User user) throws ConnectException, AdminException {
    doRequest(new SetWriter(user.getProxyId(), getName()));
  }
View Full Code Here

   * @exception AdminException  If the request fails.
   *
   * @see org.objectweb.joram.client.jms.DestinationMBean#addWriter(java.lang.String)
   */
  public void addWriter(String proxyId) throws ConnectException, AdminException {
    doRequest(new SetWriter(proxyId, getName()));
  }
View Full Code Here

TOP

Related Classes of org.objectweb.joram.shared.admin.SetWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.