public class ServiceStub extends com.vmware.vapi.internal.bindings.Stub implements Service
Service
API service.
WARNING: Internal class, subject to change in future versions.
ServiceTypes.InfoapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ServiceStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ServiceStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
ServiceTypes.Info |
get(String id)
Returns the
ServiceTypes.Info for the
specified service |
void |
get(String id,
AsyncCallback<ServiceTypes.Info> asyncCallback)
Returns the
ServiceTypes.Info for the
specified service |
void |
get(String id,
AsyncCallback<ServiceTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the
ServiceTypes.Info for the
specified service |
ServiceTypes.Info |
get(String id,
InvocationConfig invocationConfig)
Returns the
ServiceTypes.Info for the
specified service |
Set<String> |
list()
Returns the set of service identifiers.
|
void |
list(AsyncCallback<Set<String>> asyncCallback)
Returns the set of service identifiers.
|
void |
list(AsyncCallback<Set<String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the set of service identifiers.
|
Set<String> |
list(InvocationConfig invocationConfig)
Returns the set of service identifiers.
|
public ServiceStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ServiceStub(ApiProvider apiProvider, StubConfigurationBase config)
public Set<String> list()
ServiceSynchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.vapi.service.public Set<String> list(InvocationConfig invocationConfig)
ServiceSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
invocationConfig - Configuration for the method invocation.com.vmware.vapi.service.public void list(AsyncCallback<Set<String>> asyncCallback)
ServiceAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
set of service identifiers
The return value will contain identifiers for the resource type: com.vmware.vapi.service.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<Set<String>> asyncCallback, InvocationConfig invocationConfig)
ServiceAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
set of service identifiers
The return value will contain identifiers for the resource type: com.vmware.vapi.service.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ServiceTypes.Info get(String id)
ServiceServiceTypes.Info for the
specified service
Synchronous method overload. Result of the invocation will be reported as a method return value.
id - service identifier
The parameter must be an identifier for the resource type: com.vmware.vapi.service.ServiceTypes.Info for the specified
servicepublic ServiceTypes.Info get(String id, InvocationConfig invocationConfig)
ServiceServiceTypes.Info for the
specified service
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
id - service identifier
The parameter must be an identifier for the resource type: com.vmware.vapi.service.invocationConfig - Configuration for the method invocation.ServiceTypes.Info for the specified
servicepublic void get(String id, AsyncCallback<ServiceTypes.Info> asyncCallback)
ServiceServiceTypes.Info for the
specified service
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
ServiceTypes.Info for the specified
service
Operation Errors:
NotFound - If the service identifier does not exist
id - service identifier
The parameter must be an identifier for the resource type: com.vmware.vapi.service.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(String id, AsyncCallback<ServiceTypes.Info> asyncCallback, InvocationConfig invocationConfig)
ServiceServiceTypes.Info for the
specified service
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
ServiceTypes.Info for the specified
service
Operation Errors:
NotFound - If the service identifier does not exist
id - service identifier
The parameter must be an identifier for the resource type: com.vmware.vapi.service.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.Copyright © 2023. All rights reserved.