public class ZookeeperAutoServiceRegistration extends org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ZookeeperRegistration>
AbstractAutoServiceRegistration that uses
ZookeeperServiceRegistry to register and de-register instances.| Constructor and Description |
|---|
ZookeeperAutoServiceRegistration(ZookeeperServiceRegistry registry,
ZookeeperRegistration registration,
ZookeeperDiscoveryProperties properties) |
ZookeeperAutoServiceRegistration(ZookeeperServiceRegistry registry,
ZookeeperRegistration registration,
ZookeeperDiscoveryProperties properties,
org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties arProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deregister() |
protected Object |
getConfiguration() |
protected ZookeeperRegistration |
getManagementRegistration() |
protected ZookeeperRegistration |
getRegistration() |
protected boolean |
isEnabled() |
protected void |
register() |
bind, deregisterManagement, destroy, getAppName, getContext, getEnvironment, getManagementPort, getManagementServiceId, getManagementServiceName, getOrder, getPhase, getPort, getRunning, getServiceRegistry, isAutoStartup, isRunning, onApplicationEvent, registerManagement, setApplicationContext, shouldRegisterManagement, start, stoppublic ZookeeperAutoServiceRegistration(ZookeeperServiceRegistry registry, ZookeeperRegistration registration, ZookeeperDiscoveryProperties properties)
public ZookeeperAutoServiceRegistration(ZookeeperServiceRegistry registry, ZookeeperRegistration registration, ZookeeperDiscoveryProperties properties, org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties arProperties)
protected ZookeeperRegistration getRegistration()
getRegistration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ZookeeperRegistration>protected ZookeeperRegistration getManagementRegistration()
getManagementRegistration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ZookeeperRegistration>protected void register()
register in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ZookeeperRegistration>protected void deregister()
deregister in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ZookeeperRegistration>protected boolean isEnabled()
isEnabled in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ZookeeperRegistration>protected Object getConfiguration()
getConfiguration in class org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration<ZookeeperRegistration>Copyright © 2022 Pivotal Software, Inc.. All rights reserved.