Class ExporterJarRepository
- java.lang.Object
-
- io.camunda.zeebe.broker.exporter.jar.ExporterJarRepository
-
public final class ExporterJarRepository extends Object
Maintains a map of all loaded exporter JARs and their corresponding class loaders for quick reuse.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJAR_EXTENSION
-
Constructor Summary
Constructors Constructor Description ExporterJarRepository()ExporterJarRepository(Map<Path,ExporterJarClassLoader> loadedJars)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Path,ExporterJarClassLoader>getJars()ExporterJarClassLoaderload(String jarPath)ExporterJarClassLoaderload(Path jarPath)ExporterJarClassLoaderremove(String jarPath)ExporterJarClassLoaderremove(Path jarPath)
-
-
-
Field Detail
-
JAR_EXTENSION
public static final String JAR_EXTENSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExporterJarRepository
public ExporterJarRepository()
-
ExporterJarRepository
public ExporterJarRepository(Map<Path,ExporterJarClassLoader> loadedJars)
-
-
Method Detail
-
getJars
public Map<Path,ExporterJarClassLoader> getJars()
-
remove
public ExporterJarClassLoader remove(String jarPath)
-
remove
public ExporterJarClassLoader remove(Path jarPath)
-
load
public ExporterJarClassLoader load(String jarPath) throws ExporterJarLoadException
- Throws:
ExporterJarLoadException
-
load
public ExporterJarClassLoader load(Path jarPath) throws ExporterJarLoadException
- Throws:
ExporterJarLoadException
-
-