ServiceInitializer
class ServiceInitializer(plugin: JavaPlugin, configuration: LunaticChatConfiguration, messageFormats: MessageFormatHolder, httpClient: Lazy<HttpClient>, logger: Logger, debug: DebugLogger = DebugLogger.Disabled)(source)
Handles initialization and shutdown of all plugin services.
This class centralizes service initialization logic, ensuring proper dependency order and eliminating the need for null-assertion operators.
Constructors
Link copied to clipboard
constructor(plugin: JavaPlugin, configuration: LunaticChatConfiguration, messageFormats: MessageFormatHolder, httpClient: Lazy<HttpClient>, logger: Logger, debug: DebugLogger = DebugLogger.Disabled)