Class RuntimeUtil

java.lang.Object
com.webmethods.rtl.util.runtime.RuntimeUtil

public class RuntimeUtil extends Object
Utilities related to the runtime the server is running in. MWS-21278 - NOTE: This class used by the CDS library inside other runtimes, so avoid using any org.osgi.* classes in this file as those are not in the classpath.
  • Constructor Details

    • RuntimeUtil

      public RuntimeUtil()
  • Method Details

    • isInOsgiRuntime

      public static boolean isInOsgiRuntime()
      Return true if the MWS server is running inside of an OSGi framework.
      Returns:
      true or false
    • findMWSJar

      public static Path findMWSJar() throws IOException
      Throws:
      IOException