Class EventPublisherAspect
java.lang.Object
com.github._1c_syntax.bsl.languageserver.aop.EventPublisherAspect
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationEventPublisherAware
public class EventPublisherAspect
extends Object
implements org.springframework.context.ApplicationEventPublisherAware
Аспект подсистемы событий.
Каждый advice перехватывает какой-либо метод из недр продукта и генерирует соответствующее событие с помощью Spring Events.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
documentContextRebuild
(org.aspectj.lang.JoinPoint joinPoint) void
languageServerConfigurationUpdated
(org.aspectj.lang.JoinPoint joinPoint) void
languageServerInitialize
(org.aspectj.lang.JoinPoint joinPoint, org.eclipse.lsp4j.InitializeParams initializeParams) void
serverContextPopulated
(org.aspectj.lang.JoinPoint joinPoint, Collection<File> files) void
setApplicationEventPublisher
(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
-
Constructor Details
-
EventPublisherAspect
public EventPublisherAspect()
-
-
Method Details
-
destroy
@PreDestroy public void destroy() -
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) - Specified by:
setApplicationEventPublisher
in interfaceorg.springframework.context.ApplicationEventPublisherAware
-
languageServerConfigurationUpdated
public void languageServerConfigurationUpdated(org.aspectj.lang.JoinPoint joinPoint) -
documentContextRebuild
public void documentContextRebuild(org.aspectj.lang.JoinPoint joinPoint) -
serverContextPopulated
-
languageServerInitialize
public void languageServerInitialize(org.aspectj.lang.JoinPoint joinPoint, org.eclipse.lsp4j.InitializeParams initializeParams)
-