java.lang.Object
com.liferay.frontend.js.loader.modules.extender.npm.NPMResolverUtil

public class NPMResolverUtil extends Object
This class provides the same functionality as NPMResolver but without the need to reference any OSGi service or component.
See Also:
  • Constructor Details

    • NPMResolverUtil

      public NPMResolverUtil()
  • Method Details

    • getDependencyJSPackage

      @Deprecated public static JSPackage getDependencyJSPackage(org.osgi.framework.Bundle bundle, String packageName)
      Deprecated.
      As of Mueller (7.2.x), with no direct replacement
    • getDependencyJSPackage

      @Deprecated public static JSPackage getDependencyJSPackage(Class<?> clazz, String packageName)
      Deprecated.
      As of Mueller (7.2.x), with no direct replacement
    • getNPMResolver

      public static NPMResolver getNPMResolver(org.osgi.framework.Bundle bundle)
    • getNPMResolver

      public static NPMResolver getNPMResolver(Class<?> clazz)
    • resolveModuleName

      @Deprecated public static String resolveModuleName(org.osgi.framework.Bundle bundle, String moduleName)
      Deprecated.
      As of Mueller (7.2.x), with no direct replacement
    • resolveModuleName

      @Deprecated public static String resolveModuleName(Class<?> clazz, String moduleName)
      Deprecated.
      As of Mueller (7.2.x), with no direct replacement
    • set

      @Deprecated public static void set(org.osgi.framework.Bundle bundle, NPMResolver npmResolver)
      Deprecated.
      As of Mueller (7.2.x), with no direct replacement
    • getJSPackage

      @Deprecated public JSPackage getJSPackage(org.osgi.framework.Bundle bundle)
      Deprecated.
      As of Mueller (7.2.x), with no direct replacement
    • getJSPackage

      @Deprecated public JSPackage getJSPackage(Class<?> clazz)
      Deprecated.
      As of Mueller (7.2.x), with no direct replacement