Package io.github.slimjar.app.builder
Class IsolatedApplicationBuilder
java.lang.Object
io.github.slimjar.app.builder.ApplicationBuilder<T>
io.github.slimjar.app.builder.InjectingApplicationBuilder<T>
io.github.slimjar.app.builder.ModularApplicationBuilder<IsolatedApplicationBuilder>
io.github.slimjar.app.builder.IsolatedApplicationBuilder
public final class IsolatedApplicationBuilder
extends ModularApplicationBuilder<IsolatedApplicationBuilder>
-
Field Summary
Fields inherited from class io.github.slimjar.app.builder.InjectingApplicationBuilder
injectableFactory, injectableSupplierFields inherited from class io.github.slimjar.app.builder.ApplicationBuilder
self -
Constructor Summary
ConstructorsConstructorDescriptionIsolatedApplicationBuilder(@NotNull String applicationName, @NotNull String applicationClass, @Nullable Object @NotNull ... arguments) -
Method Summary
Modifier and TypeMethodDescriptionprotected ApplicationbuildApplication(@NotNull Injectable injectable) @NotNull IsolatedApplicationBuilderparentClassLoader(@NotNull ClassLoader classLoader) Sets the parent class loader to be used by the modular application.Methods inherited from class io.github.slimjar.app.builder.ModularApplicationBuilder
buildApplication, create, create, create, getModuleDataProviderFactory, getModulePreResolutionDataProviderFactory, getModules, moduleDataProviderFactory, moduleExtractor, modulePreResolutionDataProviderFactory, modulesMethods inherited from class io.github.slimjar.app.builder.InjectingApplicationBuilder
getInjectableFactory, injectableFactoryMethods inherited from class io.github.slimjar.app.builder.ApplicationBuilder
appending, build, createInjector, dataProviderFactory, dependencyFileUrl, downloadDirectoryPath, downloaderFactory, enquirerFactory, getApplicationName, getDataProviderFactory, getDependencyFileUrl, getDownloadDirectoryPath, getDownloaderFactory, getEnquirerFactory, getInjectorFactory, getLogger, getMirrorSelector, getPreResolutionDataProviderFactory, getPreResolutionFileUrl, getRelocationHelperFactory, getRelocatorFactory, getResolverFactory, getVerifierFactory, injecting, injectorFactory, isolated, logger, mirrorSelector, preResolutionDataProviderFactory, preResolutionFileUrl, relocationHelperFactory, relocatorFactory, resolverFactory, verifierFactory
-
Constructor Details
-
IsolatedApplicationBuilder
-
-
Method Details
-
parentClassLoader
@Contract(value="_ -> this", mutates="this") @NotNull public @NotNull IsolatedApplicationBuilder parentClassLoader(@NotNull @NotNull ClassLoader classLoader) Sets the parent class loader to be used by the modular application.- Parameters:
classLoader- The parentClassLoaderto be assigned. Must not be null.- Returns:
- The builder instance for method chaining.
-
buildApplication
protected Application buildApplication(@NotNull @NotNull Injectable injectable) throws SlimJarException - Overrides:
buildApplicationin classModularApplicationBuilder<IsolatedApplicationBuilder>- Throws:
SlimJarException
-