Package com.sun.messaging.jmq

Examples of com.sun.messaging.jmq.Version


    private static void printHelp() {
        Globals.stdOutPrintln(acr.getString(acr.I_USAGE_HELP));
    }

    private static void printBanner() {
        Version version = new Version(false);
        Globals.stdOutPrintln(version.getBanner(false));
    }
View Full Code Here


    private static boolean  imagesLoaded = false;

    public static void loadImages() {
  int    imgTotal;
  String    imgRoot;
  Version    version;

  if (imagesLoaded)
      return;

  imgTotal = imageFileNames.length;
  adminImages = new ImageIcon [ imgTotal ];
  version = new Version(false);

  /*
  System.out.println("Loading Images...");
  */

  /*
         * File names are relative to
         * IMQ_HOME/lib/images/admin
   */
  imgRoot = Globals.JMQ_LIB_HOME
      + File.separator
      + "images"
      + File.separator
      + "admin";

  /*
   * When loading splash screen, check if commercial product
   * and load splash_comm instead of default splash_openmq.
       */
  for (int i = 0; i < imgTotal; ++i)  {
      String fileName;

      if (i == SPLASH_SCREEN && version.isCommercialProduct()) {
        fileName = imgRoot
        + File.separator
        + "splash_comm.gif";
      } else {
        fileName = imgRoot
View Full Code Here

          oldVal, newVal));
    }

    private void initProps() {
  brokerProps = Globals.getConfig().toProperties();
  Version version = Globals.getVersion();
  brokerProps.putAll(version.getProps());
    }
View Full Code Here

     * Print banner.
     * XXX REVISIT 07/26/00 nakata: Add build number to M_BANNER
     */
    private static void printBanner() {

  Version version = new Version();
  Output.stdOutPrintln(version.getBanner(false));
    }
View Full Code Here

    return (String[])newargs.toArray(new String[0]);
    }

    private static void printVersion() {

  Version version = new Version();
  Output.stdOutPrintln(version.getVersion());
  Output.stdOutPrintln(br.getString(br.I_JAVA_VERSION) +
      System.getProperty("java.version") + " " +
      System.getProperty("java.vendor") + " " +
      System.getProperty("java.home"));
    }
View Full Code Here

    private boolean cliPasswdSpecified = false;
    private boolean debugSpecified = false;
    private boolean forceSpecified = false;

    DBTool(boolean standalone) {
  this.version = new Version();
  this.standalone = standalone;
    }
View Full Code Here

        NO_GC_DEFAULT=getNoGCDefault();
    }

    private static boolean getNoGCDefault() {
        boolean NoGCDefault = false;
        Version v = Globals.getVersion();
        int cmp = v.compareVersions((String)System.getProperties()
                  .get("java.version"), GC_JAVA_VERSION, true) ;
        if (cmp < 0) {
            // version is before 1.4.2
            NoGCDefault = false;
        } else // 1.4.2 or later
View Full Code Here

  if (!propsStale)  {
      return;
  }

  brokerProps = Globals.getConfig().toProperties();
  Version version = Globals.getVersion();
  brokerProps.putAll(version.getProps());

  propsStale = false;
    }
View Full Code Here

        return(cd);
    }

    private void initProps() {
  brokerProps = Globals.getConfig().toProperties();
  Version version = Globals.getVersion();
  brokerProps.putAll(version.getProps());
    }
View Full Code Here

          oldVal, newVal));
    }

    private void initProps() {
  brokerProps = Globals.getConfig().toProperties();
  Version version = Globals.getVersion();
  brokerProps.putAll(version.getProps());
    }
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.Version

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.