Package com.sun.messaging.jmq.util.admin

Examples of com.sun.messaging.jmq.util.admin.ConnectionInfo


  ObjectName oNames[] = new ObjectName [ connections.size() ];

  Iterator itr = connections.iterator();
  int i = 0;
  while (itr.hasNext()) {
      ConnectionInfo cxnInfo = (ConnectionInfo)itr.next();
      try  {
          ObjectName o =
        MQObjectName.createConnectionMonitor(Long.toString(cxnInfo.uuid));

          oNames[i++] = o;
View Full Code Here


    }

    Iterator itr = connections.iterator();
    int i = 0;
    while (itr.hasNext()) {
      ConnectionInfo cxnInfo = (ConnectionInfo) itr.next();
      if (cxnInfo.service.equals("jmsdirect")){
        return true;
      }
    }
View Full Code Here

            logger.log(Logger.ERROR, this.getClass().getName() + ": " + errMsg);
  }

        if (status == Status.OK) {

            ConnectionInfo cxnInfo = null;
            IMQConnection  cxn = null;
            if (cxnId != null) {

                logger.log(Logger.INFO, BrokerResources.I_DESTROY_CXN,
                       String.valueOf(cxnId.longValue()));
View Full Code Here

        counters = new MetricCounters();
    }

    public ConnectionInfo getConnectionInfo() {
        if (coninfo == null) {
            coninfo = new ConnectionInfo();
            coninfo.id = (conId == null ? empty:conId.toString().getBytes());
            coninfo.remoteIP = remoteIP;
            coninfo.service = service.getName();
        }
        coninfo.user = null;
View Full Code Here

            }
        }

        if (status == Status.OK) {

            ConnectionInfo cxnInfo = null;
            IMQConnection  cxn = null;
            if (cxnId != null) {
                // Get info for one connection
                cxn = (IMQConnection)cm.getConnection(
                                new ConnectionUID(cxnId.longValue()));
View Full Code Here

  ObjectName oNames[] = new ObjectName [ connections.size() ];

  Iterator itr = connections.iterator();
  int i = 0;
  while (itr.hasNext()) {
      ConnectionInfo cxnInfo = (ConnectionInfo)itr.next();
      try  {
          ObjectName o =
        MQObjectName.createConnectionConfig(Long.toString(cxnInfo.uuid));

          oNames[i++] = o;
View Full Code Here

  }

  Iterator itr = connections.iterator();
  int i = 0;
  while (itr.hasNext()) {
      ConnectionInfo cxnInfo = (ConnectionInfo)itr.next();
      long cxnID = cxnInfo.uuid;
      List oneCxnConsumerIDs = ConnectionUtil.getConsumerIDs(cxnID);

      consumerIDs.addAll(oneCxnConsumerIDs);
  }
View Full Code Here

  }

  Iterator itr = connections.iterator();
  int i = 0;
  while (itr.hasNext()) {
      ConnectionInfo cxnInfo = (ConnectionInfo)itr.next();
      long cxnID = cxnInfo.uuid;
      List oneCxnProducerIDs = ConnectionUtil.getProducerIDs(cxnID);

      producerIDs.addAll(oneCxnProducerIDs);
  }
View Full Code Here

  ObjectName oNames[] = new ObjectName [ connections.size() ];

  Iterator itr = connections.iterator();
  int i = 0;
  while (itr.hasNext()) {
      ConnectionInfo cxnInfo = (ConnectionInfo)itr.next();
      try  {
          ObjectName o =
        MQObjectName.createConnectionMonitor(Long.toString(cxnInfo.uuid));

          oNames[i++] = o;
View Full Code Here

        return (new Boolean(con.getIsFlowPaused()));
    }

    public static ConnectionInfo getConnectionInfo(long id)  {
  ConnectionManager cm = Globals.getConnectionManager();
  ConnectionInfo cxnInfo = null;
  IMQConnection  cxn = null;

  cxn = (IMQConnection)cm.getConnection(new ConnectionUID(id));

  if (cxn == null)  {
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.util.admin.ConnectionInfo

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.