Interface LanguageServerLifecycle
-
- All Known Subinterfaces:
AstNodeService,IndexService,MappingService,ProjectVirtualFileSystemService,WeaveBuildComponent,WeaveComponent,WeaveDependencyComponent,WeaveMetadataProviderComponent,WeaveProjectStructureComponent,WeaveSampleBasedMetadataProviderService,WeaveSampleDataResourcesService,WeaveService,WeaveTextDocumentLocator
- All Known Implementing Classes:
FeatureDescriptorComponent
public interface LanguageServerLifecycle
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidinitialize()The init is being called when the LSP is initializing.default voidinitialized()At this staged the LSP has been already initialized.default voidshutdown()Called when the Language Server is being shutdown
-
-
-
Method Detail
-
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
-
-