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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringbuildServicePath(NetworkService.Type serviceType, String... parts) get(NetworkService.Type serviceType) Returns the service instance to invoke, for the given type.list(NetworkService.Type serviceType) voidregister(NetworkService service) voidunregister(NetworkService service)
-
Field Details
-
LOG
-
MAPPER
protected static final com.fasterxml.jackson.databind.json.JsonMapper MAPPER -
SERVICE_PATH
- See Also:
-
client
-
-
Constructor Details
-
ZookeeperServiceOps
public ZookeeperServiceOps()
-
-
Method Details
-
buildServicePath
-
register
- Specified by:
registerin interfaceServiceOps
-
unregister
- Specified by:
unregisterin interfaceServiceOps
-
list
- Specified by:
listin interfaceServiceOps
-
get
Description copied from interface:ServiceOpsReturns the service instance to invoke, for the given type.- Specified by:
getin interfaceServiceOps- Parameters:
serviceType- service type- Returns:
- service instance to invoke, for the given type
-