Class ZookeeperServiceOps
java.lang.Object
org.apache.syncope.common.keymaster.client.zookeeper.ZookeeperServiceOps
- All Implemented Interfaces:
ServiceOps
Implements
ServiceOps
via Apache Curator / Zookeeper.-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.curator.framework.CuratorFramework
protected static final Logger
protected static final JsonMapper
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
buildServicePath
(NetworkService.Type serviceType, String... parts) get
(NetworkService.Type serviceType) Returns the service instance to invoke, for the given type.list
(NetworkService.Type serviceType) void
register
(NetworkService service) void
unregister
(NetworkService service)
-
Field Details
-
LOG
-
MAPPER
-
SERVICE_PATH
- See Also:
-
client
-
-
Constructor Details
-
ZookeeperServiceOps
public ZookeeperServiceOps()
-
-
Method Details
-
buildServicePath
-
register
- Specified by:
register
in interfaceServiceOps
-
unregister
- Specified by:
unregister
in interfaceServiceOps
-
list
- Specified by:
list
in interfaceServiceOps
-
get
Description copied from interface:ServiceOps
Returns the service instance to invoke, for the given type.- Specified by:
get
in interfaceServiceOps
- Parameters:
serviceType
- service type- Returns:
- service instance to invoke, for the given type
-