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

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


      handleSetterException(
    DestinationAttributes.USE_DMQ, e);
  }
    }
    public Boolean getUseDMQ()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  return (Boolean.valueOf(di.useDMQ));
    }
View Full Code Here


   
           Iterator itr = Destination.getAllDestinations();
    
           while (itr.hasNext()) {
               Destination d = (Destination)itr.next();
               DestinationInfo dd= getDestinationInfo(d);
               v.add(dd);
           }
       }

       // Send reply
View Full Code Here

       return true;
   }


    public static DestinationInfo getDestinationInfo(Destination d) {
        DestinationInfo di = new DestinationInfo();
        di.nMessages=d.size();
        di.nMessageBytes=d.byteSize();
        di.nConsumers=d.getConsumerCount();
        di.nfConsumers=d.getFailoverConsumerCount();
        di.naConsumers=d.getActiveConsumerCount();
View Full Code Here

     * @param cmd_msg  The administration message
     * @param cmd_props The properties from the administration message
     */
    public boolean handle(IMQConnection con, Packet cmd_msg,
               Hashtable cmd_props) {
  DestinationInfo info;

  info = (DestinationInfo)getBodyObject(cmd_msg);

  if ( DEBUG ) {
            logger.log(Logger.DEBUG, this.getClass().getName() + ": " +
                "Creating destination: " + cmd_props + ": " + info.toString());
        }

  Packet reply = new Packet(con.useDirectBuffers());
  reply.setPacketType(PacketType.OBJECT_MESSAGE);

        int status = Status.OK;
        String errMsg = null;

        // Default attributes of the destination
        int type = DestType.DEST_TYPE_QUEUE | DestType.DEST_FLAVOR_SINGLE;
        int maxMessages = -1;
        SizeString maxMessageBytes = null;
        SizeString maxMessageSize = null;

        HAMonitorService hamonitor = Globals.getHAMonitorService();
        if (hamonitor != null && hamonitor.inTakeover()) {
            status = Status.ERROR;
            errMsg =  rb.getString(rb.E_CANNOT_PROCEED_TAKEOVER_IN_PROCESS);

            logger.log(Logger.ERROR, this.getClass().getName() + ": " + errMsg);
  } else if (MemoryGlobals.MEM_DISALLOW_CREATE_DEST) {
            status = Status.ERROR;
            errMsg = rb.W_LOW_MEM_REJECT_DEST;
        } else if (info.isModified(DestinationInfo.NAME)) {
            if (info.isModified(DestinationInfo.TYPE)) {
                type = info.type;
            }
            if (info.isModified(DestinationInfo.MAX_MESSAGES)) {
                maxMessages = info.maxMessages;
            }
            if (info.isModified(DestinationInfo.MAX_MESSAGE_BYTES)) {
                maxMessageBytes = new SizeString();
                maxMessageBytes.setBytes(info.maxMessageBytes);
            }
            if (info.isModified(DestinationInfo.MAX_MESSAGE_SIZE)) {
                maxMessageSize = new SizeString();
                maxMessageSize.setBytes(info.maxMessageSize);
            }

        } else {
            status = Status.ERROR;
            errMsg = rb.X_NO_DEST_NAME_SET;
        }
        //
        //XXX create destination
        if (status == Status.OK) {

            if (DestType.destNameIsInternal(info.name)) {
                status = Status.ERROR;
                errMsg =  rb.getKString( rb.X_CANNOT_CREATE_INTERNAL_DEST,
                            info.name,
          DestType.INTERNAL_DEST_PREFIX);
      } else  {
                if (isValidDestinationName(info.name)) {

                    try {
                        Destination.createDestination(info.name,
                          type);
                    } catch (Exception ex) {
                        status = Status.ERROR;
                        errMsg =  rb.getString( rb.X_CREATE_DEST_EXCEPTION,
                            info.name, getMessageFromException(ex));
                       if (ex instanceof ConflictException)
                           logger.log(Logger.INFO, errMsg, ex);
                       else
                           logger.logStack(Logger.INFO, errMsg, ex);
                    }
                } else {
                    status = Status.ERROR;
                    errMsg =  rb.getKString( rb.X_DEST_NAME_INVALID,
                            info.name);
                }
      }
        }

        if (status == Status.OK) {
            try {

                Destination d = Destination.getDestination(info.name, DestType.isQueue(type));

                d.setCapacity(maxMessages);
                d.setByteCapacity(maxMessageBytes);
                d.setMaxByteSize(maxMessageSize);
                if (info.isModified(info.DEST_SCOPE)) {
                    int scope = info.destScope;
                    d.setScope(scope)
                }
                if (info.isModified(info.DEST_LIMIT)) {
                    int destlimit = info.destLimitBehavior;
                    d.setLimitBehavior(destlimit);
                }
                if (info.isModified(info.DEST_PREFETCH)) {
                    int prefetch = info.maxPrefetch;
                    d.setMaxPrefetch(prefetch);
                }
                if (info.isModified(info.DEST_CDP)) {
                    int clusterdeliverypolicy = info.destCDP;
                    d.setClusterDeliveryPolicy(clusterdeliverypolicy);
                }
                if (info.isModified(info.MAX_ACTIVE_CONSUMERS)) {
                    int maxcons = info.maxActiveConsumers;
                    d.setMaxActiveConsumers(maxcons);
                }
                if (info.isModified(info.MAX_PRODUCERS)) {
                    int maxp = info.maxProducers;
                    d.setMaxProducers(maxp);
                }
                if (info.isModified(info.MAX_FAILOVER_CONSUMERS)) {
                    int maxcons = info.maxFailoverConsumers;
                    d.setMaxFailoverConsumers(maxcons);
                }
                if (info.isModified(info.MAX_SHARED_CONSUMERS)) {
                    int maxsharedcons = info.maxNumSharedConsumers;
                    d.setMaxSharedConsumers(maxsharedcons);
                }
                if (info.isModified(info.SHARE_FLOW_LIMIT)) {
                    int sflowlimit = info.sharedConsumerFlowLimit;
                    d.setSharedFlowLimit(sflowlimit);
                }
                if (info.isModified(info.USE_DMQ)) {
                    boolean dmq = info.useDMQ;
                    d.setUseDMQ(dmq);
                }
                if (info.isModified(info.VALIDATE_XML_SCHEMA_ENABLED)) {
                    d.setValidateXMLSchemaEnabled(info.validateXMLSchemaEnabled);
                }
                if (info.isModified(info.XML_SCHEMA_URI_LIST)) {
                    d.setXMLSchemaUriList(info.XMLSchemaUriList);
                }
                if (info.isModified(info.RELOAD_XML_SCHEMA_ON_FAILURE)) {
                    d.setReloadXMLSchemaOnFailure(info.reloadXMLSchemaOnFailure);
                }
                d.update();
             
                // audit logging for create destination
View Full Code Here

    /*
     * Get DestinationInfo object from Destination object.
     */
    public static DestinationInfo getDestinationInfo(Destination d)  {
  DestinationInfo di = GetDestinationsHandler.getDestinationInfo(d);

  return (di);
    }
View Full Code Here

        return m;
    }

    public static DestinationInfo getDestinationInfoFromAttrs(String type,
            String destName, AttributeList attrs)  {
  DestinationInfo info = new DestinationInfo();

  info.setName(destName);

  if (type.equals(DestinationType.QUEUE))  {
      info.setType(DestType.DEST_TYPE_QUEUE);
  } else if (type.equals(DestinationType.TOPIC))  {
      info.setType(DestType.DEST_TYPE_TOPIC);
  }

  if (attrs == null)  {
      return (info);
  }

  /*
   * We assume that type checking was already handled
   */

  for (Iterator i = attrs.iterator(); i.hasNext();) {
      Attribute attr = (Attribute) i.next();
      String name = attr.getName();
      Object value = attr.getValue();

      if (name.equals(DestinationAttributes.CONSUMER_FLOW_LIMIT))  {
    info.setPrefetch(((Long)value).intValue());
      }

      if (name.equals(DestinationAttributes.LOCAL_ONLY))  {
    info.setScope(((Boolean)value).booleanValue());
      }

      if (name.equals(DestinationAttributes.LIMIT_BEHAVIOR))  {
    info.setLimitBehavior( toInternalDestLimitBehavior((String)value) );
      }

      if (name.equals(DestinationAttributes.LOCAL_DELIVERY_PREFERRED))  {
    int cdp;

    if (((Boolean)value).booleanValue())  {
        cdp = ClusterDeliveryPolicy.LOCAL_PREFERRED;
    } else  {
        cdp = ClusterDeliveryPolicy.DISTRIBUTED;
    }
    info.setClusterDeliveryPolicy(cdp);
      }

      if (name.equals(DestinationAttributes.MAX_BYTES_PER_MSG))  {
    info.setMaxMessageSize(((Long)value).longValue());
      }

      if (name.equals(DestinationAttributes.MAX_NUM_ACTIVE_CONSUMERS))  {
    info.setMaxActiveConsumers(((Integer)value).intValue());
      }

      if (name.equals(DestinationAttributes.MAX_NUM_BACKUP_CONSUMERS))  {
    info.setMaxFailoverConsumers(((Integer)value).intValue());
      }

      if (name.equals(DestinationAttributes.MAX_NUM_MSGS))  {
    info.setMaxMessages(((Long)value).intValue());
      }

      if (name.equals(DestinationAttributes.MAX_NUM_PRODUCERS))  {
    info.setMaxProducers(((Integer)value).intValue());
      }

      if (name.equals(DestinationAttributes.MAX_TOTAL_MSG_BYTES))  {
    info.setMaxMessageBytes(((Long)value).longValue());
      }

      if (name.equals(DestinationAttributes.USE_DMQ))  {
    info.setUseDMQ(((Boolean)value).booleanValue());
      }
  }

  return (info);
    }
View Full Code Here

                broker.sendGetDestinationsMessage(destName, destTypeMask);
                Vector dest = broker.receiveGetDestinationsReplyMessage();

                if ((dest != null) && (dest.size() == 1)) {
        Enumeration thisEnum = dest.elements();
        DestinationInfo dInfo = (DestinationInfo)thisEnum.nextElement();
        BrokerCmdPrinter bcp = new BrokerCmdPrinter(2, 4);
        String[] row = new String[2];

        bcp.setSortNeeded(false);

        /*
         * Basic info - name/type/state etc.
         */
        row[0] = ar.getString(ar.I_JMQCMD_DST_NAME);
        row[1] = dInfo.name;
        bcp.add(row);
 
        row[0] = ar.getString(ar.I_JMQCMD_DST_TYPE);
        row[1] = BrokerAdminUtil.getDestinationType(dInfo.type);
        // If the destination is temporary, indicate so.
        if (DestType.isTemporary(dInfo.type))
            row[1] = row[1] + " ("
          + ar.getString(ar.I_TEMPORARY)
          + ")";

        bcp.add(row);

                    row[0] = ar.getString(ar.I_JMQCMD_DST_STATE);
                    //row[1] = DestState.toString(dInfo.destState);
                    row[1] = BrokerAdminUtil.getDestinationState(dInfo.destState);
                    bcp.add(row);

              row[0] = ar.getString(ar.I_JMQCMD_DST_CREATED_ADMIN);
        if (dInfo.autocreated)  {
                        row[1] = Boolean.FALSE.toString();
        } else  {
                        row[1] = Boolean.TRUE.toString();
        }
                    bcp.add(row);

                    row[0] = "";
                    row[1] = "";
                    bcp.add(row);

        /*
         * 'Current' numbers
         */
                    row[0] = ar.getString(ar.I_JMQCMD_DST_CUR_MSG);
                    row[1] = "";
                    bcp.add(row);

        String indent = "    ";

                    row[0] = indent + ar.getString(ar.I_JMQCMD_DST_ACTUAL);
                    row[1] = new Integer(dInfo.nMessages - dInfo.nTxnMessages).toString();
                    bcp.add(row);

                    row[0] = indent + ar.getString(ar.I_JMQCMD_DST_REMOTE);
                    row[1] = new Integer(dInfo.nRemoteMessages).toString();
                    bcp.add(row);

                    row[0] = indent + ar.getString(ar.I_JMQCMD_DST_HELD_IN_TXN);
                    row[1] = new Integer(dInfo.nTxnMessages).toString();
                    bcp.add(row);

                    row[0] = ar.getString(ar.I_JMQCMD_DST_CUR_MSG_BYTES);
                    row[1] = "";
                    bcp.add(row);

                    row[0] = indent + ar.getString(ar.I_JMQCMD_DST_ACTUAL);
                    row[1] = new Long(dInfo.nMessageBytes - dInfo.nTxnMessageBytes).toString();
                    bcp.add(row);

                    row[0] = indent + ar.getString(ar.I_JMQCMD_DST_REMOTE);
                    row[1] = new Long(dInfo.nRemoteMessageBytes).toString();
                    bcp.add(row);

                    row[0] = indent + ar.getString(ar.I_JMQCMD_DST_HELD_IN_TXN);
                    row[1] = new Long(dInfo.nTxnMessageBytes).toString();
                    bcp.add(row);

                    row[0] = ar.getString(ar.I_JMQCMD_DST_CUR_PRODUCERS);
                    row[1] = new Integer(dInfo.nProducers).toString();
                    bcp.add(row);

        if (DestType.isQueue(destTypeMask)) {
                        row[0] = ar.getString(ar.I_JMQCMD_DST_CUR_ACTIVE_CONS);
                        row[1] = new Integer(dInfo.naConsumers).toString();
                        bcp.add(row);

                        row[0] = ar.getString(ar.I_JMQCMD_DST_CUR_FAILOVER_CONS);
                        row[1] = new Integer(dInfo.nfConsumers).toString();
                        bcp.add(row);
        } else  {
      Hashtable h = dInfo.producerWildcards;

                        row[0] = ar.getString(ar.I_JMQCMD_DST_CUR_NUM_PRODUCERS_WILDCARD);
                        row[1] = Integer.toString(getWildcardCount(h));
                        bcp.add(row);

      /*
       * The code below will print something like:
       *
       *  foo.bar.* (2)
       *  bar.* (1)
       */
                  Enumeration keys;
      if (h != null)  {
                      keys = h.keys();

                      while (keys.hasMoreElements())  {
                          String wildcard = (String)keys.nextElement();
                    Integer val = (Integer)h.get(wildcard);
                          row[0] = indent + wildcard + "  (" + val + ")";
                          row[1] = "";
                          bcp.add(row);
                      }
      }


                        row[0] = ar.getString(ar.I_JMQCMD_DST_CUR_CONS);
                        row[1] = new Integer(dInfo.nConsumers).toString();
                        bcp.add(row);

      h = dInfo.consumerWildcards;

                        row[0] = ar.getString(ar.I_JMQCMD_DST_CUR_NUM_CONSUMERS_WILDCARD);
                        row[1] = Integer.toString(getWildcardCount(h));
                        bcp.add(row);

      if (h != null)  {
                      keys = h.keys();

                      while (keys.hasMoreElements())  {
                          String wildcard = (String)keys.nextElement();
                    Integer val = (Integer)h.get(wildcard);
                          row[0] = indent + wildcard + "  (" + val + ")";
                          row[1] = "";
                          bcp.add(row);
                      }
      }

        }

                    row[0] = "";
                    row[1] = "";
                    bcp.add(row);

        /*
         * 'Current' numbers
         */
        row[0] = ar.getString(ar.I_JMQCMD_DST_MAX_MSG_ALLOW);
        row[1] = checkAndPrintUnlimitedInt(dInfo.maxMessages, zeroNegOneInt);
        bcp.add(row);
   
        row[0] = ar.getString(ar.I_JMQCMD_DST_MAX_MSG_BYTES_ALLOW);
        row[1] = checkAndPrintUnlimitedLong(dInfo.maxMessageBytes,
          zeroNegOneLong);
        bcp.add(row);

        row[0] = ar.getString(ar.I_JMQCMD_DST_MAX_BYTES_PER_MSG_ALLOW);
        row[1] = new Long(dInfo.maxMessageSize).toString();
        row[1] = checkAndPrintUnlimitedLong(dInfo.maxMessageSize,
          zeroNegOneLong);
        bcp.add(row);

              row[0] = ar.getString(ar.I_JMQCMD_DST_MAX_PRODUCERS);
        row[1] = checkAndPrintUnlimitedInt(dInfo.maxProducers, -1);
                    bcp.add(row);

        if (DestType.isQueue(destTypeMask)) {
                  row[0] = ar.getString(ar.I_JMQCMD_DST_MAX_ACTIVE_CONSUMER_COUNT);
            row[1] = checkAndPrintUnlimitedInt(dInfo.maxActiveConsumers, -1);
                        bcp.add(row);

                  row[0] = ar.getString(ar.I_JMQCMD_DST_MAX_FAILOVER_CONSUMER_COUNT);
            row[1] = checkAndPrintUnlimitedInt(dInfo.maxFailoverConsumers, -1);
                        bcp.add(row);
        }

                    row[0] = "";
                    row[1] = "";
                    bcp.add(row);

        /*
         * Other misc props
         */
              row[0] = ar.getString(ar.I_JMQCMD_DST_LIMIT_BEHAVIOUR);
                    row[1] = DestLimitBehavior.getString(dInfo.destLimitBehavior);
                    bcp.add(row);

              row[0] = ar.getString(ar.I_JMQCMD_DST_CONS_FLOW_LIMIT);
        row[1] = checkAndPrintUnlimitedInt(dInfo.maxPrefetch, -1);
                    bcp.add(row);

              row[0] = ar.getString(ar.I_JMQCMD_DST_IS_LOCAL_DEST);
        if (dInfo.isDestinationLocal())  {
                        row[1] = Boolean.TRUE.toString();
        } else  {
                        row[1] = Boolean.FALSE.toString();
        }
                    bcp.add(row);

        if (DestType.isQueue(destTypeMask)) {
                  row[0] = ar.getString(ar.I_JMQCMD_DST_LOCAL_DELIVERY_PREF);
            if (dInfo.destCDP == ClusterDeliveryPolicy.LOCAL_PREFERRED)  {
                            row[1] = Boolean.TRUE.toString();
            } else  {
                            row[1] = Boolean.FALSE.toString();
            }
                        bcp.add(row);
        }

              row[0] = ar.getString(ar.I_JMQCMD_DST_USE_DMQ);
        if (dInfo.useDMQ())  {
                        row[1] = Boolean.TRUE.toString();
        } else  {
                        row[1] = Boolean.FALSE.toString();
        }
                    bcp.add(row);

              row[0] = ar.getString(ar.I_JMQCMD_DST_VALIDATE_XML_SCHEMA_ENABLED);
        if (dInfo.validateXMLSchemaEnabled())  {
                        row[1] = Boolean.TRUE.toString();
        } else  {
                        row[1] = Boolean.FALSE.toString();
        }
                    bcp.add(row);

              row[0] = ar.getString(ar.I_JMQCMD_DST_XML_SCHEMA_URI_LIST);
                    row[1] = dInfo.XMLSchemaUriList;
                    bcp.add(row);

              row[0] = ar.getString(ar.I_JMQCMD_DST_RELOAD_XML_SCHEMA_ON_FAILURE);
        if (dInfo.reloadXMLSchemaOnFailure())  {
                        row[1] = Boolean.TRUE.toString();
        } else  {
                        row[1] = Boolean.FALSE.toString();
        }
                    bcp.add(row);
View Full Code Here

                broker.sendGetDestinationsMessage(destName, destTypeMask);
                Vector dest = broker.receiveGetDestinationsReplyMessage();

                if ((dest != null) && (dest.size() == 1)) {
                    Enumeration thisEnum = dest.elements();
                    DestinationInfo dInfo = (DestinationInfo)thisEnum.nextElement();

        if (PROP_NAME_OPTION_MAX_MESG_BYTE.equals(attrName)) {
                  Globals.stdOutPrintln(Long.toString(dInfo.maxMessageBytes));
      retValue = 0;

        } else if (PROP_NAME_OPTION_MAX_MESG.equals(attrName)) {
                  Globals.stdOutPrintln(Integer.toString(dInfo.maxMessages));
      retValue = 0;

        } else if (PROP_NAME_OPTION_MAX_PER_MESG_SIZE.equals(attrName)) {
                  Globals.stdOutPrintln(Long.toString(dInfo.maxMessageSize));
      retValue = 0;

        } else if (PROP_NAME_OPTION_CUR_MESG_BYTE.equals(attrName)) {
                  Globals.stdOutPrintln(Long.toString(dInfo.nMessageBytes));
      retValue = 0;

        } else if (PROP_NAME_OPTION_CUR_MESG.equals(attrName)) {
                  Globals.stdOutPrintln(Integer.toString(dInfo.nMessages));
      retValue = 0;

        } else if (PROP_NAME_OPTION_CUR_PRODUCERS.equals(attrName)) {
                  Globals.stdOutPrintln(Integer.toString(dInfo.nProducers));
      retValue = 0;

        } else if (PROP_NAME_MAX_FAILOVER_CONSUMER_COUNT.equals(attrName)) {
                  Globals.stdOutPrintln(Integer.toString(dInfo.maxFailoverConsumers));
      retValue = 0;

        } else if (PROP_NAME_MAX_ACTIVE_CONSUMER_COUNT.equals(attrName)) {
                  Globals.stdOutPrintln(Integer.toString(dInfo.maxActiveConsumers));
      retValue = 0;

        } else if (PROP_NAME_IS_LOCAL_DEST.equals(attrName)) {
      if (dInfo.isDestinationLocal())  {
                      Globals.stdOutPrintln(Boolean.TRUE.toString());
      } else  {
                      Globals.stdOutPrintln(Boolean.FALSE.toString());
      }
      retValue = 0;

        } else if (PROP_NAME_LIMIT_BEHAVIOUR.equals(attrName)) {
                  Globals.stdOutPrintln(DestLimitBehavior.getString(dInfo.destLimitBehavior));
      retValue = 0;

        } else if (PROP_NAME_LOCAL_DELIVERY_PREF.equals(attrName)) {
      int cdp = dInfo.destCDP;

      if (cdp == ClusterDeliveryPolicy.LOCAL_PREFERRED)  {
                      Globals.stdOutPrintln(Boolean.TRUE.toString());
      } else  {
                      Globals.stdOutPrintln(Boolean.FALSE.toString());
      }
      retValue = 0;

        } else if (PROP_NAME_CONSUMER_FLOW_LIMIT.equals(attrName)) {
                  Globals.stdOutPrintln(Integer.toString(dInfo.maxPrefetch));
      retValue = 0;

        } else if (PROP_NAME_MAX_PRODUCERS.equals(attrName)) {
                  Globals.stdOutPrintln(Integer.toString(dInfo.maxProducers));
      retValue = 0;

        } else if (PROP_NAME_OPTION_CUR_A_CONSUMERS.equals(attrName)) {
      if (DestType.isQueue(destTypeMask)) {
                      Globals.stdOutPrintln(Integer.toString(dInfo.naConsumers));
      } else  {
                      Globals.stdOutPrintln(Integer.toString(dInfo.nConsumers));
      }
      retValue = 0;

        } else if (PROP_NAME_OPTION_CUR_B_CONSUMERS.equals(attrName)) {
                  Globals.stdOutPrintln(Integer.toString(dInfo.nfConsumers));
      retValue = 0;

        } else if (PROP_NAME_USE_DMQ.equals(attrName)) {
                  Globals.stdOutPrintln(Boolean.toString(dInfo.useDMQ()));
      retValue = 0;

        } else if (PROP_NAME_VALIDATE_XML_SCHEMA_ENABLED.equals(attrName)) {
                  Globals.stdOutPrintln(Boolean.toString(dInfo.validateXMLSchemaEnabled()));
      retValue = 0;

        } else if (PROP_NAME_XML_SCHEMA_URI_LIST.equals(attrName)) {
                  Globals.stdOutPrintln(dInfo.XMLSchemaUriList);
      retValue = 0;

        } else if (PROP_NAME_RELOAD_XML_SCHEMA_ON_FAILURE.equals(attrName)) {
                  Globals.stdOutPrintln(Boolean.toString(dInfo.reloadXMLSchemaOnFailure()));
      retValue = 0;

        } else {
      // Should not get here since we check for valid attribute
      // names in BrokerCmd.checkGetAttr().
View Full Code Here

  Vector dests = broker.receiveGetDestinationsReplyMessage();

  boolean found = false;
  int i = 0;
  while ((!found) && (i < dests.size())) {
      DestinationInfo dInfo = (DestinationInfo)dests.elementAt(i);
      if ((destName.equals(dInfo.name)) &&
    (DestType.isTopic(dInfo.type)))
    found = true;
      i++;
  }
View Full Code Here

    }

    public void doOK() {
  BrokerAdminEvent bae =
        new BrokerAdminEvent(this, BrokerAdminEvent.UPDATE_DEST);
  DestinationInfo destInfo = getUpdateDestinationInfo();

  bae.setDestinationInfo(destInfo);

        bae.setOKAction(true);
        fireAdminEventDispatched(bae);
View Full Code Here

TOP

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

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.