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 TypeMethodDescriptionvoiddestroy()voiddocumentContextRebuild(org.aspectj.lang.JoinPoint joinPoint) voidlanguageServerConfigurationUpdated(org.aspectj.lang.JoinPoint joinPoint) voidlanguageServerInitialize(org.aspectj.lang.JoinPoint joinPoint, org.eclipse.lsp4j.InitializeParams initializeParams) voidserverContextPopulated(org.aspectj.lang.JoinPoint joinPoint, Collection<File> files) voidsetApplicationEventPublisher(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:
setApplicationEventPublisherin 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)
-