Class NetworkServiceServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.keymaster.rest.cxf.service.NetworkServiceServiceImpl
-
- All Implemented Interfaces:
Serializable,NetworkServiceService
@Service public class NetworkServiceServiceImpl extends Object implements NetworkServiceService
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.syncope.common.keymaster.rest.api.service.NetworkServiceService
NetworkServiceService.Action
-
-
Field Summary
Fields Modifier and Type Field Description protected NetworkServiceLogiclogic
-
Constructor Summary
Constructors Constructor Description NetworkServiceServiceImpl(NetworkServiceLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaction(NetworkService networkService, NetworkServiceService.Action action)(Un)registers the given service.NetworkServiceget(NetworkService.Type serviceType)Returns the service instance to invoke, for the given type.List<NetworkService>list(NetworkService.Type serviceType)Returns the list of registered services.
-
-
-
Field Detail
-
logic
protected final NetworkServiceLogic logic
-
-
Constructor Detail
-
NetworkServiceServiceImpl
public NetworkServiceServiceImpl(NetworkServiceLogic logic)
-
-
Method Detail
-
list
public List<NetworkService> list(NetworkService.Type serviceType)
Description copied from interface:NetworkServiceServiceReturns the list of registered services.- Specified by:
listin interfaceNetworkServiceService- Parameters:
serviceType- service type- Returns:
- list of registered services
-
get
public NetworkService get(NetworkService.Type serviceType)
Description copied from interface:NetworkServiceServiceReturns the service instance to invoke, for the given type.- Specified by:
getin interfaceNetworkServiceService- Parameters:
serviceType- service type- Returns:
- service instance to invoke, for the given type
-
action
public void action(NetworkService networkService, NetworkServiceService.Action action)
Description copied from interface:NetworkServiceService(Un)registers the given service.- Specified by:
actionin interfaceNetworkServiceService- Parameters:
networkService- service instanceaction- action to perform on the given service
-
-