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 TypeMethodDescriptiondefault voidThe init is being called when the LSP is initializing.default voidAt this staged the LSP has been already initialized.default voidshutdown()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
-