| Package | Description |
|---|---|
| com.vmware.vapi.bindings | |
| com.vmware.vapi.client.util | |
| com.vmware.vapi.config | |
| com.vmware.vapi.core | |
| com.vmware.vapi.protocol | |
| com.vmware.vapi.protocol.local | |
| com.vmware.vapi.protocol.server.msg.json | |
| com.vmware.vapi.provider.aggregator | |
| com.vmware.vapi.provider.introspection | |
| com.vmware.vapi.provider.local | |
| com.vmware.vapi.security | |
| com.vmware.vapi.std.activation |
The
com.vmware.vapi.std.activation package provides interfaces that
TODO. |
| com.vmware.vapi.std.activation.impl | |
| com.vmware.vapi.std.introspection |
The
com.vmware.vapi.std.introspection package provides interfaces that
expose basic information about the vAPI interfaces registered with a vAPI
provider. |
| Modifier and Type | Method and Description |
|---|---|
<T extends Service> |
LocalStubFactory.createStub(ApiInterface skeleton,
Class<T> stubIface,
StubConfigurationBase config,
ApiProvider provider) |
| Constructor and Description |
|---|
StubFactory(ApiProvider apiProvider)
Constructor.
|
StubFactory(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DynamicAuthnFilter
Filter that can be used to acquire on-demand security context for requests.
|
| Constructor and Description |
|---|
DynamicAuthnFilter(ApiProvider decoratedProvider,
Supplier<CompletionStage<ExecutionContext.SecurityContext>> supplier,
long timeoutMs)
Creates a new authentication filter that can be used to create stub that
will have all their calls authenticated
|
| Modifier and Type | Method and Description |
|---|---|
ApiProvider |
SpringConfigurator.getApiProvider() |
ApiProvider |
PropertyConfigurator.getApiProvider() |
ApiProvider |
Configurator.getApiProvider()
Returns the primary API provider described in the configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ApiProvider> |
InterfacesHelper.buildInterfacesMap(ApiProvider apiProvider)
Return a map from service id to the API provider for all the services
handled by the API provider.
|
Map<String,ApiProvider> |
InterfacesHelper.buildInterfacesMap(LocalProvider localProvider)
Return a map from service id to the local provider for all the services
handled by the local provider.
|
Map<String,ApiProvider> |
InterfacesHelper.buildInterfacesMap(ProtocolConnection protocolConnection)
Return a map from service id to the provider for all the services handled by the provider of
the protocol connection.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ApiProvider> |
InterfacesHelper.buildInterfacesMap(ApiProvider apiProvider)
Return a map from service id to the API provider for all the services
handled by the API provider.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ApiProviderStub
A blend of synchronous and asynchronous provider interfaces.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ApiProviderStubImpl
Utility which provides synchronous method overloads on top of an
ApiProvider. |
class |
DecoratorApiProvider
Utility which decorates an existing provider.
|
| Modifier and Type | Field and Description |
|---|---|
protected ApiProvider |
DecoratorApiProvider.decoratedProvider |
| Constructor and Description |
|---|
ApiProviderStubImpl(ApiProvider provider) |
DecoratorApiProvider(ApiProvider decoratedProvider)
Creates
ApiProvider Decorator. |
| Modifier and Type | Method and Description |
|---|---|
ApiProvider |
ProtocolConnection.getApiProvider()
Once connected get an ApiProvider that can be used to make calls.
|
| Modifier and Type | Method and Description |
|---|---|
ProtocolHandler |
ProtocolHandlerFactory.getInsecureProtocolHandler(String type,
String args,
ApiProvider provider)
Create a insecure protocol handler.
|
ProtocolHandler |
ProtocolHandlerFactory.getProtocolHandler(String type,
String args,
String secureArgs,
String clientAuth,
ProtocolHandlerFactory.KeyStoreConfig keystoreConfig,
ProtocolHandlerFactory.TrustStoreConfig truststoreConfig,
ApiProvider provider)
Create protocol handler with configurable client authentication.
|
ProtocolHandler |
ProtocolHandlerFactory.getProtocolHandler(String type,
String args,
String secureArgs,
String keystore,
String keystorePassword,
String keyPassword,
ApiProvider provider)
Create protocol handler.
|
| Modifier and Type | Method and Description |
|---|---|
ApiProvider |
LocalProtocol.getApiProvider() |
ApiProvider |
LocalConnection.getApiProvider() |
| Constructor and Description |
|---|
LocalProtocol(ApiProvider provider) |
| Constructor and Description |
|---|
JsonServerConnection(ApiProvider provider,
List<RequestProcessor> processorChain)
Creates a handler which translates JSON-RPC 2.0 requests to
ApiProvider method calls. |
| Modifier and Type | Class and Description |
|---|---|
class |
ApiAggregator
The
ApiAggregator class is an aggregating
implementation of the ApiProvider interface. |
| Constructor and Description |
|---|
ApiAggregator(String name,
Map<String,ApiProvider> ifaceMap)
Calls
ApiAggregator(String, Map, boolean), automatically
deploying introspection services. |
ApiAggregator(String name,
Map<String,ApiProvider> ifaceMap,
boolean deployIntrospectionServices)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorAugmentingFilter
Decorator which augments the set of error definitions returned by the
operation introspection service.
|
| Constructor and Description |
|---|
ErrorAugmentingFilter(ApiProvider decoratedProvider,
Set<ErrorDefinition> extraErrors)
Creates a filter for a fixed set of error definitions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LocalProvider
The
LocalProvider class is a local (in-process) implementation
of the ApiProvider interface. |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthenticationFilter
This class acts as a decorator to the actual provider.
|
| Constructor and Description |
|---|
AuthenticationFilter(ApiProvider decoratedProvider,
AuthenticationConfig authnConfig,
List<AuthenticationHandler> authnHandlers) |
| Constructor and Description |
|---|
ActivationManagerStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ActivationManagerStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Class and Description |
|---|---|
class |
ActivationFilter
WARNING: Use only as a sample.
|
| Constructor and Description |
|---|
ActivationFilter(ApiProvider decoratedProvider,
com.vmware.vapi.internal.std.activation.impl.ActivationRegistry activationRegistry)
Creates an activation filter.
|
| Constructor and Description |
|---|
OperationStub(ApiProvider apiProvider,
StubConfigurationBase config) |
OperationStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
ProviderStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ProviderStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
ServiceStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ServiceStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Copyright © 2022. All rights reserved.