Class SelectingInjectableFactory
java.lang.Object
io.github.slimjar.injector.loader.factory.SelectingInjectableFactory
- All Implemented Interfaces:
InjectableFactory
-
Field Summary
Fields inherited from interface io.github.slimjar.injector.loader.factory.InjectableFactory
DEFAULT, ERROR, INJECTABLE, INSTRUMENTATION, UNSAFE, WRAPPED -
Constructor Summary
ConstructorsConstructorDescriptionSelectingInjectableFactory(@NotNull InjectableFactory fallback, @NotNull InjectableFactory @NotNull ... factories) -
Method Summary
Modifier and TypeMethodDescription@NotNull Injectablecreate(@NotNull Path downloadPath, @NotNull Collection<Repository> repositories, @NotNull ClassLoader classLoader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.slimjar.injector.loader.factory.InjectableFactory
create
-
Constructor Details
-
SelectingInjectableFactory
public SelectingInjectableFactory(@NotNull @NotNull InjectableFactory fallback, @NotNull @NotNull InjectableFactory @NotNull ... factories)
-
-
Method Details
-
create
@NotNull public @NotNull Injectable create(@NotNull @NotNull Path downloadPath, @NotNull @NotNull Collection<Repository> repositories, @NotNull @NotNull ClassLoader classLoader) throws InjectorException - Specified by:
createin interfaceInjectableFactory- Throws:
InjectorException
-