@Component public class MulticastRegistration extends AbstractZeroConfigRegistration implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected Multicast |
multicast |
configeventBus, self, storeService| Constructor and Description |
|---|
MulticastRegistration() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
doSendRegister() |
protected void |
doSendUnregister() |
boolean |
enabled() |
String |
name() |
void |
onRegisterInstance(RegisterInstanceEvent event) |
MulticastRegistration |
setMulticast(Multicast multicast) |
getOrder, run, setConfigaddBasePath, addEndpoint, addSchema, destroy, getAppId, getMicroservice, getMicroserviceInstance, init, postRegisteredEvent, sendRegister, setEventBus, setSelf, setStoreService, startRegister, updateMicroserviceInstanceStatusprotected Multicast multicast
@Autowired public MulticastRegistration setMulticast(Multicast multicast)
public String name()
name in interface org.apache.servicecomb.registry.api.Registrationpublic boolean enabled()
enabled in interface org.apache.servicecomb.foundation.common.utils.SPIEnabledenabled in class AbstractZeroConfigRegistrationpublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanprotected void doSendRegister()
throws IOException
doSendRegister in class AbstractLightweightRegistrationIOExceptionprotected void doSendUnregister()
throws IOException
doSendUnregister in class AbstractLightweightRegistrationIOExceptionpublic void onRegisterInstance(RegisterInstanceEvent event)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.