public final class LocalStubFactory extends Object
| Constructor and Description |
|---|
LocalStubFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Service> |
createStub(ApiInterface skeleton,
Class<T> stubIface)
Calls
createStub(ApiInterface, Class, StubConfigurationBase)
with no stub configuration. |
<T extends Service> |
createStub(ApiInterface skeleton,
Class<T> stubIface,
StubConfigurationBase config)
Creates a stub for the specified service implementation.
|
<T extends Service> |
createStub(ApiInterface skeleton,
Class<T> stubIface,
StubConfigurationBase config,
ApiProvider provider) |
public <T extends Service> T createStub(ApiInterface skeleton, Class<T> stubIface)
createStub(ApiInterface, Class, StubConfigurationBase)
with no stub configuration.public <T extends Service> T createStub(ApiInterface skeleton, Class<T> stubIface, StubConfigurationBase config)
skeleton - service implementation; must not be nullstubIface - stub interface; must not be nullconfig - stub configuration; can be nullpublic <T extends Service> T createStub(ApiInterface skeleton, Class<T> stubIface, StubConfigurationBase config, ApiProvider provider)
Copyright © 2023. All rights reserved.