Class SelfKeymasterServiceOps
- java.lang.Object
-
- org.apache.syncope.common.keymaster.client.self.SelfKeymasterServiceOps
-
- All Implemented Interfaces:
ServiceOps
public class SelfKeymasterServiceOps extends Object implements ServiceOps
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.cxf.transports.http.configuration.HTTPClientPolicyhttpClientPolicyprotected Map<Class<?>,Object>services
-
Constructor Summary
Constructors Constructor Description SelfKeymasterServiceOps(org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean clientFactory, int maxRetries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tclient(Class<T> serviceClass, Map<String,String> headers)NetworkServiceget(NetworkService.Type serviceType)Returns the service instance to invoke, for the given type.List<NetworkService>list(NetworkService.Type serviceType)voidregister(NetworkService service)protected javax.ws.rs.client.CompletionStageRxInvokerrx(String path)voidunregister(NetworkService service)
-
-
-
Method Detail
-
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
-
register
public void register(NetworkService service)
- Specified by:
registerin interfaceServiceOps
-
unregister
public void unregister(NetworkService service)
- Specified by:
unregisterin interfaceServiceOps
-
rx
protected javax.ws.rs.client.CompletionStageRxInvoker rx(String path)
-
-