public class StubSuppliers extends Object
| Constructor and Description |
|---|
StubSuppliers() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addDescriptor(String interfaceName,
ServiceDescriptor serviceDescriptor) |
static void |
addSupplier(String interfaceName,
Function<Invoker<?>,Object> supplier) |
static <T> T |
createStub(String interfaceName,
Invoker<T> invoker) |
static ServiceDescriptor |
getServiceDescriptor(String interfaceName) |
public static void addDescriptor(String interfaceName, ServiceDescriptor serviceDescriptor)
public static void addSupplier(String interfaceName, Function<Invoker<?>,Object> supplier)
public static ServiceDescriptor getServiceDescriptor(String interfaceName)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.