Class MultipleAutoServiceRegistration
- java.lang.Object
-
- org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
-
- io.microsphere.spring.cloud.client.service.registry.MultipleAutoServiceRegistration
-
- All Implemented Interfaces:
java.util.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>
AutoServiceRegistrationfor the multiple service registration- Since:
- 1.0.0
- Author:
- 韩超, Mercy
- See Also:
AutoServiceRegistration,MultipleRegistration
-
-
Constructor Summary
Constructors Constructor Description MultipleAutoServiceRegistration(MultipleRegistration multipleRegistration, org.springframework.cloud.client.serviceregistry.ServiceRegistry<MultipleRegistration> serviceRegistry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectgetConfiguration()protected MultipleRegistrationgetManagementRegistration()protected MultipleRegistrationgetRegistration()protected booleanisEnabled()-
Methods inherited from class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration
bind, deregister, deregisterManagement, destroy, getAppName, getContext, getEnvironment, getManagementPort, getManagementServiceId, getManagementServiceName, getOrder, getPhase, getPort, getRunning, getServiceRegistry, isAutoStartup, isRunning, onApplicationEvent, register, registerManagement, setApplicationContext, shouldRegisterManagement, start, stop
-
-
-
-
Constructor Detail
-
MultipleAutoServiceRegistration
public MultipleAutoServiceRegistration(MultipleRegistration multipleRegistration, org.springframework.cloud.client.serviceregistry.ServiceRegistry<MultipleRegistration> serviceRegistry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties properties)
-
-
Method Detail
-
getConfiguration
protected java.lang.Object getConfiguration()
- Specified by:
getConfigurationin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
-
isEnabled
protected boolean isEnabled()
- Specified by:
isEnabledin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
-
getRegistration
protected MultipleRegistration getRegistration()
- Specified by:
getRegistrationin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
-
getManagementRegistration
protected MultipleRegistration getManagementRegistration()
- Specified by:
getManagementRegistrationin classorg.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<MultipleRegistration>
-
-