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.HTTPClientPolicy
httpClientPolicy
protected 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> T
client(Class<T> serviceClass, Map<String,String> headers)
NetworkService
get(NetworkService.Type serviceType)
Returns the service instance to invoke, for the given type.List<NetworkService>
list(NetworkService.Type serviceType)
void
register(NetworkService service)
protected javax.ws.rs.client.CompletionStageRxInvoker
rx(String path)
void
unregister(NetworkService service)
-
-
-
Method Detail
-
list
public List<NetworkService> list(NetworkService.Type serviceType)
- Specified by:
list
in interfaceServiceOps
-
get
public NetworkService get(NetworkService.Type serviceType)
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
-
register
public void register(NetworkService service)
- Specified by:
register
in interfaceServiceOps
-
unregister
public void unregister(NetworkService service)
- Specified by:
unregister
in interfaceServiceOps
-
rx
protected javax.ws.rs.client.CompletionStageRxInvoker rx(String path)
-
-