public class AnsAutoServiceRegistration extends org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<AnsRegistration>
| Constructor and Description |
|---|
AnsAutoServiceRegistration(org.springframework.cloud.client.serviceregistry.ServiceRegistry<AnsRegistration> serviceRegistry,
org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties,
AnsRegistration registration) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAppName() |
protected Object |
getConfiguration() |
protected AnsRegistration |
getManagementRegistration() |
protected AnsRegistration |
getRegistration() |
protected boolean |
isEnabled() |
protected void |
register() |
protected void |
registerManagement() |
void |
setPort(int port)
Deprecated.
|
bind, deregister, deregisterManagement, destroy, getContext, getEnvironment, getManagementPort, getManagementServiceId, getManagementServiceName, getOrder, getPhase, getPort, getRunning, getServiceRegistry, isAutoStartup, isRunning, onApplicationEvent, setApplicationContext, shouldRegisterManagement, start, stoppublic AnsAutoServiceRegistration(org.springframework.cloud.client.serviceregistry.ServiceRegistry<AnsRegistration> serviceRegistry, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties autoServiceRegistrationProperties, AnsRegistration registration)
@Deprecated public void setPort(int port)
protected AnsRegistration getRegistration()
getRegistration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<AnsRegistration>protected AnsRegistration getManagementRegistration()
getManagementRegistration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<AnsRegistration>protected void register()
register in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<AnsRegistration>protected void registerManagement()
registerManagement in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<AnsRegistration>protected Object getConfiguration()
getConfiguration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<AnsRegistration>protected boolean isEnabled()
isEnabled in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<AnsRegistration>protected String getAppName()
getAppName in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<AnsRegistration>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.