public class OperationApiInterface
extends com.vmware.vapi.internal.bindings.ApiInterfaceSkeleton
com.vmware.vapi.bindings.ApiInterfaceSkeleton
which
adapts API service implementation (class that implements
the generated OperationProvider
interface).
This adapter expects asynchronous/non-blocking API service implementation.
Constructor and Description |
---|
OperationApiInterface()
Constructor.
|
OperationApiInterface(Class<? extends OperationProvider> implClass)
Constructor.
|
OperationApiInterface(OperationProvider impl)
Constructor.
|
getDefinition, getIdentifier, getMethodDefinition, invoke
public OperationApiInterface()
OperationApiInterface
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 OperationApiInterface(Class<? extends OperationProvider> implClass)
OperationApiInterface
instance
for specified class
of the API service implementation. The
specified class will be instantiated.implClass
- The Class
implementing OperationProvider
API service. If null
default implementation will be
used as in OperationApiInterface()
.public OperationApiInterface(OperationProvider impl)
OperationApiInterface
instance
for specified instance of the API service implementation.impl
- The implementation of OperationProvider
API service. Must not be null
.Copyright © 2015. All Rights Reserved.