Class MultipleAutoServiceRegistration
java.lang.Object
org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
io.microsphere.spring.cloud.client.service.registry.MultipleAutoServiceRegistration
- All Implemented Interfaces:
- EventListener,- org.springframework.beans.factory.Aware,- org.springframework.cloud.client.serviceregistry.AutoServiceRegistration,- org.springframework.context.ApplicationContextAware,- org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>
public class MultipleAutoServiceRegistration
extends org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
AutoServiceRegistration for the multiple service registration- Since:
- 1.0.0
- Author:
- 韩超, Mercy
- See Also:
- 
- AutoServiceRegistration
- MultipleRegistration
 
- 
Constructor SummaryConstructorsConstructorDescriptionMultipleAutoServiceRegistration(MultipleRegistration multipleRegistration, org.springframework.cloud.client.serviceregistry.ServiceRegistry<MultipleRegistration> serviceRegistry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties properties) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected Objectprotected MultipleRegistrationprotected MultipleRegistrationprotected booleanMethods inherited from class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistrationaddRegistrationLifecycle, addRegistrationManagementLifecycle, deregister, deregisterManagement, destroy, getAppName, getContext, getEnvironment, getManagementPort, getManagementServiceId, getManagementServiceName, getOrder, getPhase, getPort, getRunning, getServiceRegistry, isAutoStartup, isRunning, onApplicationEvent, register, registerManagement, setApplicationContext, shouldRegisterManagement, start, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListenersupportsAsyncExecution
- 
Constructor Details- 
MultipleAutoServiceRegistrationpublic MultipleAutoServiceRegistration(MultipleRegistration multipleRegistration, org.springframework.cloud.client.serviceregistry.ServiceRegistry<MultipleRegistration> serviceRegistry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties properties) 
 
- 
- 
Method Details- 
getConfiguration- Specified by:
- getConfigurationin class- org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
 
- 
isEnabledprotected boolean isEnabled()- Specified by:
- isEnabledin class- org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
 
- 
getRegistration- Specified by:
- getRegistrationin class- org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
 
- 
getManagementRegistration- Specified by:
- getManagementRegistrationin class- org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
 
 
-