Interface LanguageServerLifecycle

All Known Subinterfaces:
AstNodeService, DiagnosticService, IndexService, MappingService, ProjectVirtualFileSystemService, WeaveBuildComponent, WeaveComponent, WeaveDependencyComponent, WeaveMetadataProviderComponent, WeaveProjectStructureComponent, WeaveSampleBasedMetadataProviderService, WeaveSampleDataResourcesService, WeaveService
All Known Implementing Classes:
FeatureDescriptorComponent

public interface LanguageServerLifecycle
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    The init is being called when the LSP is initializing.
    default void
    At this staged the LSP has been already initialized.
    default void
    Called when the Language Server is being shutdown
  • Method Details

    • initialize

      default void initialize()
      The init is being called when the LSP is initializing. At this stage the connection to the client has not yet been established and other component or services are not yet ready to be used. It is safe to register for events, but not to use other components at this moment. Each component needs to init its values at this moment.
    • initialized

      default void initialized()
      At this staged the LSP has been already initialized.
    • shutdown

      default void shutdown()
      Called when the Language Server is being shutdown