public interface Service extends Service, ServiceTypes
Service
service provides
operations to retrieve information about the services exposed by a vAPI
provider. A provider is a container that exposes one or more vAPI services.ServiceTypes.Info
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.
|
Set<String> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
com.vmware.vapi.service
.Set<String> list(InvocationConfig invocationConfig)
Synchronous 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
.void list(AsyncCallback<Set<String>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation 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.void list(AsyncCallback<Set<String>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation 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.ServiceTypes.Info get(String id)
ServiceTypes.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
serviceNotFound
- If the service identifier does not existServiceTypes.Info get(String id, InvocationConfig invocationConfig)
ServiceTypes.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
serviceNotFound
- If the service identifier does not existvoid get(String id, AsyncCallback<ServiceTypes.Info> asyncCallback)
ServiceTypes.Info
for the
specified service
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation 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.void get(String id, AsyncCallback<ServiceTypes.Info> asyncCallback, InvocationConfig invocationConfig)
ServiceTypes.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.
Operation 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 © 2015. All Rights Reserved.