public class DubboServiceRegistrationEventPublishingAspect extends Object implements org.springframework.context.ApplicationEventPublisherAware
| Modifier and Type | Field and Description |
|---|---|
static String |
DEREGISTER_POINTCUT_EXPRESSION
The pointcut expression for
ServiceRegistry.deregister(Registration). |
static String |
REGISTER_POINTCUT_EXPRESSION
The pointcut expression for
ServiceRegistry.register(Registration). |
| Constructor and Description |
|---|
DubboServiceRegistrationEventPublishingAspect() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRegister(org.springframework.cloud.client.serviceregistry.ServiceRegistry registry,
org.springframework.cloud.client.serviceregistry.Registration registration) |
void |
beforeDeregister(org.springframework.cloud.client.serviceregistry.ServiceRegistry registry,
org.springframework.cloud.client.serviceregistry.Registration registration) |
void |
beforeRegister(org.springframework.cloud.client.serviceregistry.ServiceRegistry registry,
org.springframework.cloud.client.serviceregistry.Registration registration) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
public static final String REGISTER_POINTCUT_EXPRESSION
ServiceRegistry.register(Registration).public static final String DEREGISTER_POINTCUT_EXPRESSION
ServiceRegistry.deregister(Registration).public DubboServiceRegistrationEventPublishingAspect()
public void beforeRegister(org.springframework.cloud.client.serviceregistry.ServiceRegistry registry,
org.springframework.cloud.client.serviceregistry.Registration registration)
public void beforeDeregister(org.springframework.cloud.client.serviceregistry.ServiceRegistry registry,
org.springframework.cloud.client.serviceregistry.Registration registration)
public void afterRegister(org.springframework.cloud.client.serviceregistry.ServiceRegistry registry,
org.springframework.cloud.client.serviceregistry.Registration registration)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAwareCopyright © 2021 Pivotal Software, Inc.. All rights reserved.