public final class DependencyInjector extends Object
Constructor and Description |
---|
DependencyInjector(File dependenciesFolder) |
Modifier and Type | Method and Description |
---|---|
File |
getDependenciesFolder() |
void |
injectDependencies(@NotNull Dependency[] dependencies,
@NotNull ClassLoader classLoader) |
void |
injectDependency(@NotNull Dependency dependency,
@NotNull ClassLoader classLoader) |
void |
injectDependency(@NotNull String groupId,
@NotNull String artifactId,
@NotNull String version,
@NotNull ClassLoader classLoader) |
void |
injectDependency(@NotNull String groupId,
@NotNull String artifactId,
@NotNull String version,
@NotNull String repository,
@NotNull ClassLoader classLoader) |
void |
setDependenciesFolder(File folder) |
public DependencyInjector(File dependenciesFolder)
public File getDependenciesFolder()
public void setDependenciesFolder(File folder)
public void injectDependencies(@NotNull @NotNull Dependency[] dependencies, @NotNull @NotNull ClassLoader classLoader)
public void injectDependency(@NotNull @NotNull String groupId, @NotNull @NotNull String artifactId, @NotNull @NotNull String version, @NotNull @NotNull ClassLoader classLoader)
public void injectDependency(@NotNull @NotNull String groupId, @NotNull @NotNull String artifactId, @NotNull @NotNull String version, @NotNull @NotNull String repository, @NotNull @NotNull ClassLoader classLoader)
public void injectDependency(@NotNull @NotNull Dependency dependency, @NotNull @NotNull ClassLoader classLoader)
Copyright © 2021. All rights reserved.