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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Constructor Details
-
ZookeeperServiceDiscoveryOps
public ZookeeperServiceDiscoveryOps()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Throws:
Exception
-
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
-