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 NetworkServiceLogic
logic
-
Constructor Summary
Constructors Constructor Description NetworkServiceServiceImpl(NetworkServiceLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
action(NetworkService networkService, NetworkServiceService.Action action)
(Un)registers the given service.NetworkService
get(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:NetworkServiceService
Returns the list of registered services.- Specified by:
list
in interfaceNetworkServiceService
- Parameters:
serviceType
- service type- Returns:
- list of registered services
-
get
public NetworkService get(NetworkService.Type serviceType)
Description copied from interface:NetworkServiceService
Returns the service instance to invoke, for the given type.- Specified by:
get
in 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:
action
in interfaceNetworkServiceService
- Parameters:
networkService
- service instanceaction
- action to perform on the given service
-
-