Uses of Class
dev.ua.theroer.magicutils.bootstrap.MagicRuntime.Builder
Packages that use MagicRuntime.Builder
-
Uses of MagicRuntime.Builder in dev.ua.theroer.magicutils.bootstrap
Methods in dev.ua.theroer.magicutils.bootstrap that return MagicRuntime.BuilderModifier and TypeMethodDescriptionMagicRuntime.Builder.autoRegisterShutdown(boolean autoRegisterShutdown) Controls whether the runtime should auto-register its close hook with the platform.static MagicRuntime.BuilderMagicRuntime.builder(Platform platform, ConfigManager configManager, LoggerCore logger) Creates a builder for a runtime rooted in the given core services.Registers an extra typed component.MagicRuntime.Builder.languageManager(@Nullable LanguageManager languageManager) Sets an optional language manager for the runtime.MagicRuntime.Builder.manage(String name, AutoCloseable closeable) Registers a closeable resource to be closed when the runtime stops.MagicRuntime.Builder.manageConfigManager(boolean manageConfigManager) Controls whether the runtime should callConfigManager.shutdown()on close.Registers a shutdown action.