Class ZookeeperServiceDiscoveryOps
- java.lang.Object
 - 
- org.apache.syncope.common.keymaster.client.zookeeper.ZookeeperServiceDiscoveryOps
 
 
- 
- All Implemented Interfaces:
 ServiceOps,InitializingBean
public class ZookeeperServiceDiscoveryOps extends Object implements ServiceOps, InitializingBean
ImplementsServiceOpsvia Apache Curator / Zookeeper via Curator'sServiceDiscovery. 
- 
- 
Constructor Summary
Constructors Constructor Description ZookeeperServiceDiscoveryOps() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()NetworkServiceget(NetworkService.Type serviceType)Returns the service instance to invoke, for the given type.List<NetworkService>list(NetworkService.Type serviceType)voidregister(NetworkService service)voidunregister(NetworkService service) 
 - 
 
- 
- 
Method Detail
- 
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
 afterPropertiesSetin interfaceInitializingBean- Throws:
 Exception
 
- 
register
public void register(NetworkService service)
- Specified by:
 registerin interfaceServiceOps
 
- 
unregister
public void unregister(NetworkService service)
- Specified by:
 unregisterin interfaceServiceOps
 
- 
list
public List<NetworkService> list(NetworkService.Type serviceType)
- Specified by:
 listin interfaceServiceOps
 
- 
get
public NetworkService get(NetworkService.Type serviceType)
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
 
 
 - 
 
 -