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 null
stubIface
- stub interface; must not be null
config
- stub configuration; can be null
public <T extends Service> T createStub(ApiInterface skeleton, Class<T> stubIface, StubConfigurationBase config, ApiProvider provider)
Copyright © 2015. All Rights Reserved.