Class NPMResolverUtil
java.lang.Object
com.liferay.frontend.js.loader.modules.extender.npm.NPMResolverUtil
This class provides the same functionality as NPMResolver but without the
need to reference any OSGi service or component.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JSPackagegetDependencyJSPackage(Class<?> clazz, String packageName) Deprecated.As of Mueller (7.2.x), with no direct replacementstatic JSPackagegetDependencyJSPackage(org.osgi.framework.Bundle bundle, String packageName) Deprecated.As of Mueller (7.2.x), with no direct replacementgetJSPackage(Class<?> clazz) Deprecated.As of Mueller (7.2.x), with no direct replacementgetJSPackage(org.osgi.framework.Bundle bundle) Deprecated.As of Mueller (7.2.x), with no direct replacementstatic NPMResolvergetNPMResolver(Class<?> clazz) static NPMResolvergetNPMResolver(org.osgi.framework.Bundle bundle) static StringresolveModuleName(Class<?> clazz, String moduleName) Deprecated.As of Mueller (7.2.x), with no direct replacementstatic StringresolveModuleName(org.osgi.framework.Bundle bundle, String moduleName) Deprecated.As of Mueller (7.2.x), with no direct replacementstatic voidset(org.osgi.framework.Bundle bundle, NPMResolver npmResolver) Deprecated.As of Mueller (7.2.x), with no direct replacement
-
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.As of Mueller (7.2.x), with no direct replacement -
getNPMResolver
-
getNPMResolver
-
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.As of Mueller (7.2.x), with no direct replacement -
set
Deprecated.As of Mueller (7.2.x), with no direct replacement -
getJSPackage
Deprecated.As of Mueller (7.2.x), with no direct replacement -
getJSPackage
Deprecated.As of Mueller (7.2.x), with no direct replacement
-