public class ProviderSyncApiInterface
extends com.vmware.vapi.internal.bindings.ApiInterfaceSkeleton
com.vmware.vapi.bindings.ApiInterfaceSkeleton
which
adapts API service implementation (class that implements
the generated ProviderSyncProvider
interface).
This adapter expects synchronous API service implementation.
Constructor and Description |
---|
ProviderSyncApiInterface()
Constructor.
|
ProviderSyncApiInterface(Class<? extends ProviderSyncProvider> implClass)
Constructor.
|
ProviderSyncApiInterface(ProviderSyncProvider impl)
Constructor.
|
getDefinition, getIdentifier, getMethodDefinition, invoke
public ProviderSyncApiInterface()
ProviderSyncApiInterface
instance with
default API service implementation.
The default service implementation is assumed to be
instance of the com.vmware.vapi.std.introspection.impl.ProviderImpl
class. This
class will be loaded and instantiated.
public ProviderSyncApiInterface(Class<? extends ProviderSyncProvider> implClass)
ProviderSyncApiInterface
instance
for specified class
of the API service implementation. The
specified class will be instantiated.implClass
- The Class
implementing ProviderSyncProvider
API service. If null
default implementation will be
used as in ProviderSyncApiInterface()
.public ProviderSyncApiInterface(ProviderSyncProvider impl)
ProviderSyncApiInterface
instance
for specified instance of the API service implementation.impl
- The implementation of ProviderSyncProvider
API service. Must not be null
.Copyright © 2015. All Rights Reserved.