Package com.sun.messaging.jmq.management

Examples of com.sun.messaging.jmq.management.JMXMQAddress


     * @return The relevant JMXServiceURL that is advertised by the
     * portmapper.
     */
    public JMXServiceURL getJMXServiceURL() throws JMException {
  GenericPortMapperClient pmc;
  JMXMQAddress mqAddr;
  JMXServiceURL url;
  String addr = null, urlString, host, connectorName;
  int port;

  try  {
      addr = getCurrentConfiguration().getProperty(
      AdminConnectionConfiguration.imqAddress);

      mqAddr = JMXMQAddress.createAddress(addr);
      host = mqAddr.getHostName();
      port = mqAddr.getPort();
      connectorName = mqAddr.getServiceName();

      /*
      System.out.println("ACF: address used: " + addr);
      System.out.println("\thost: " + host);
      System.out.println("\tport: " + port);
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.management.JMXMQAddress

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.