@Internal public class ClientResourceManager extends ResourceManager
ClientResourceManager
is able to remove the registered JAR resources with the
specified jar path.
After removing the JAR resource, the ResourceManager
is able to register the JAR
resource with the same JAR path. Please notice that the removal doesn't promise the loaded Class
from the removed jar is inaccessible.
localResourceDir, resourceInfos, userClassLoader
Constructor and Description |
---|
ClientResourceManager(Configuration config,
MutableURLClassLoader userClassLoader) |
Modifier and Type | Method and Description |
---|---|
URL |
unregisterJarResource(String jarPath) |
addJarConfiguration, checkPath, close, copy, createResourceManager, createUserClassLoader, declareFunctionResources, exists, getLocalJarResources, getResources, getURLFromPath, getUserClassLoader, registerFileResource, registerJarResources, registerPythonResources, syncFileResource, unregisterFunctionResources
public ClientResourceManager(Configuration config, MutableURLClassLoader userClassLoader)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.