Class ZookeeperServiceDiscoveryOps
java.lang.Object
org.apache.syncope.common.keymaster.client.zookeeper.ZookeeperServiceDiscoveryOps
- All Implemented Interfaces:
ServiceOps,InitializingBean
Implements
ServiceOps via Apache Curator / Zookeeper via Curator's ServiceDiscovery.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidget(NetworkService.Type serviceType) Returns the service instance to invoke, for the given type.list(NetworkService.Type serviceType) voidregister(NetworkService service) voidunregister(NetworkService service)
-
Constructor Details
-
ZookeeperServiceDiscoveryOps
public ZookeeperServiceDiscoveryOps()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceInitializingBean- Throws:
Exception
-
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
-