public interface ServiceFactory
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServiceFactory.Builder
Defines a step-builder interface for the client service factory.
|
static interface |
ServiceFactory.PreBuilder |
| Modifier and Type | Method and Description |
|---|---|
static ServiceFactory.PreBuilder |
invoker(ServiceInvoker serviceInvoker) |
<S> S |
newInstance(java.lang.Class<S> serviceClass)
Creates a client service factory instance that can generate service proxies
bound to calls using the provided serialization and caller.
|
@Nonnull
<S> S newInstance(@Nonnull
java.lang.Class<S> serviceClass)
serviceClass - the interface class to route.static ServiceFactory.PreBuilder invoker(@Nonnull ServiceInvoker serviceInvoker)