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) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deregister() |
protected Object |
getConfiguration() |
protected int |
getConfiguredPort() |
protected ZookeeperRegistration |
getManagementRegistration() |
protected ZookeeperRegistration |
getRegistration() |
protected boolean |
isEnabled() |
protected void |
register() |
protected void |
setConfiguredPort(int port) |
deregisterManagement, getServiceRegistry, registerManagement, stopdestroy, getAppName, getContext, getEnvironment, getManagementPort, getManagementServiceId, getManagementServiceName, getOrder, getPhase, getPort, getRunning, isAutoStartup, isRunning, onApplicationEvent, setApplicationContext, shouldRegisterManagement, start, stoppublic ZookeeperAutoServiceRegistration(ZookeeperServiceRegistry registry, ZookeeperRegistration registration, ZookeeperDiscoveryProperties properties)
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.discovery.AbstractDiscoveryLifecycleprotected int getConfiguredPort()
getConfiguredPort in class org.springframework.cloud.client.discovery.AbstractDiscoveryLifecycleprotected void setConfiguredPort(int port)
setConfiguredPort in class org.springframework.cloud.client.discovery.AbstractDiscoveryLifecycleprotected Object getConfiguration()
getConfiguration in class org.springframework.cloud.client.discovery.AbstractDiscoveryLifecycleCopyright © 2017 Pivotal Software, Inc.. All rights reserved.