public class OperationSyncApiInterface
extends com.vmware.vapi.internal.bindings.ApiInterfaceSkeleton
ApiInterfaceSkeleton which
adapts API service implementation (class that implements
the generated OperationSyncProvider interface).
This adapter expects synchronous API service implementation.
| Constructor and Description |
|---|
OperationSyncApiInterface()
Constructor.
|
OperationSyncApiInterface(Class<? extends OperationSyncProvider> implClass)
Constructor.
|
OperationSyncApiInterface(OperationSyncProvider impl)
Constructor.
|
OperationSyncApiInterface(OperationSyncProvider impl,
com.vmware.vapi.internal.bindings.TypeConverter converter)
Constructor.
|
createImplInstance, getTypeConvertergetDefinition, getIdentifier, getMethodDefinition, invoke, registerMethodpublic OperationSyncApiInterface()
OperationSyncApiInterface instance with
default API service implementation.
The default service implementation is assumed to be
instance of the com.vmware.vapi.std.introspection.impl.OperationImpl class. This
class will be loaded and instantiated.
public OperationSyncApiInterface(Class<? extends OperationSyncProvider> implClass)
OperationSyncApiInterface instance
for specified class of the API service implementation. The
specified class will be instantiated.implClass - The Class implementing OperationSyncProvider
API service. If null default implementation will be
used as in OperationSyncApiInterface().public OperationSyncApiInterface(OperationSyncProvider impl)
OperationSyncApiInterface instance
for specified instance of the API service implementation.impl - The implementation of OperationSyncProvider
API service. Must not be null.public OperationSyncApiInterface(OperationSyncProvider impl, com.vmware.vapi.internal.bindings.TypeConverter converter)
OperationSyncApiInterface instance
for specified instance of the API service implementation and custom conversion logic.impl - The implementation of OperationSyncProvider
API service. Must not be null.converter - logic to convert from native to wire type and back. Must not be null.Copyright © 2022. All rights reserved.