Class ServiceClientInvocationImpl<S>
- java.lang.Object
-
- com.devonfw.module.service.common.base.client.async.ServiceClientInvocationImpl<S>
-
- Type Parameters:
S
- type of theservice API
.
- All Implemented Interfaces:
ServiceClientInvocation<S>
public class ServiceClientInvocationImpl<S> extends Object implements ServiceClientInvocation<S>
Implementation ofServiceClientInvocation
.- Since:
- 2020.08.001
-
-
Constructor Summary
Constructors Constructor Description ServiceClientInvocationImpl(Method method, Object[] parameters, ServiceContext<S> context)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceContext<S>
getContext()
Method
getMethod()
Object[]
getParameters()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.devonfw.module.service.common.api.client.async.ServiceClientInvocation
getParameter, getServiceDescription, getServiceDescription
-
-
-
-
Constructor Detail
-
ServiceClientInvocationImpl
public ServiceClientInvocationImpl(Method method, Object[] parameters, ServiceContext<S> context)
The constructor.- Parameters:
method
- - seegetMethod()
.parameters
- - seegetParameters()
.context
- - seegetContext()
.
-
-
Method Detail
-
getMethod
public Method getMethod()
- Specified by:
getMethod
in interfaceServiceClientInvocation<S>
- Returns:
- the Method reflecting the service operation to invoke.
-
getParameters
public Object[] getParameters()
- Specified by:
getParameters
in interfaceServiceClientInvocation<S>
- Returns:
- the parameters provided when the service operation
method
was invoked.
-
getContext
public ServiceContext<S> getContext()
- Specified by:
getContext
in interfaceServiceClientInvocation<S>
- Returns:
- the
ServiceContext
.
-
-