| 限定符和类型 | 方法和说明 |
|---|---|
Invoker<T> |
Exporter.getInvoker()
get invoker.
|
Invoker<?> |
RpcInvocation.getInvoker() |
Invoker<?> |
Invocation.getInvoker()
get the invoker in current context.
|
Invoker<?> |
RpcContext.getInvoker()
已过时。
Replace to getUrl()
|
<T> Invoker<T> |
ProxyFactory.getInvoker(T proxy,
Class<T> type,
URL url)
create invoker.
|
<T> Invoker<T> |
Protocol.refer(Class<T> type,
URL url)
Refer a remote service:
1. |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Invoker<?>> |
RpcContext.getInvokers()
已过时。
Replace to getUrls()
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
InvokerListener.destroyed(Invoker<?> invoker)
The invoker destroyed.
|
<T> Exporter<T> |
Protocol.export(Invoker<T> invoker)
Export service for remote invocation:
1. |
<T> T |
ProxyFactory.getProxy(Invoker<T> invoker)
create proxy.
|
<T> T |
ProxyFactory.getProxy(Invoker<T> invoker,
boolean generic)
create proxy.
|
Result |
Filter.invoke(Invoker<?> invoker,
Invocation invocation)
Make sure call invoker.invoke() in your implementation.
|
void |
Filter.Listener.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
Filter.Listener.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
InvokerListener.referred(Invoker<?> invoker)
The invoker referred
|
void |
RpcInvocation.setInvoker(Invoker<?> invoker) |
RpcContext |
RpcContext.setInvoker(Invoker<?> invoker) |
| 限定符和类型 | 方法和说明 |
|---|---|
RpcContext |
RpcContext.setInvokers(List<Invoker<?>> invokers) |
| 构造器和说明 |
|---|
RpcInvocation(Invocation invocation,
Invoker<?> invoker) |
RpcInvocation(String methodName,
String serviceName,
String protocolServiceKey,
Class<?>[] parameterTypes,
Object[] arguments,
Map<String,Object> attachments,
Invoker<?> invoker,
Map<Object,Object> attributes) |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
AccessLogFilter.invoke(Invoker<?> invoker,
Invocation inv)
This method logs the access log for service method invocation call.
|
Result |
CompatibleFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ClassLoaderFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ExecuteLimitFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
TpsLimitFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ActiveLimitFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ExceptionFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
GenericImplFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
EchoFilter.invoke(Invoker<?> invoker,
Invocation inv) |
Result |
TokenFilter.invoke(Invoker<?> invoker,
Invocation inv) |
Result |
ContextFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
DeprecatedFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
TimeoutFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
ConsumerContextFilter.invoke(Invoker<?> invoker,
Invocation invocation) |
Result |
GenericFilter.invoke(Invoker<?> invoker,
Invocation inv) |
void |
CompatibleFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ExecuteLimitFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ActiveLimitFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ExceptionFilter.onError(Throwable e,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericImplFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
ContextFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
TimeoutFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericFilter.onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
CompatibleFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ExecuteLimitFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ActiveLimitFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ExceptionFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericImplFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
ContextFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
TimeoutFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
void |
GenericFilter.onResponse(Result appResponse,
Invoker<?> invoker,
Invocation inv) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ListenerInvokerWrapper<T>
ListenerInvoker
|
| 限定符和类型 | 方法和说明 |
|---|---|
Invoker<T> |
ListenerExporterWrapper.getInvoker() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
InvokerListenerAdapter.destroyed(Invoker<?> invoker) |
void |
DeprecatedInvokerListener.referred(Invoker<?> invoker) |
void |
InvokerListenerAdapter.referred(Invoker<?> invoker) |
| 构造器和说明 |
|---|
ListenerInvokerWrapper(Invoker<T> invoker,
List<InvokerListener> listeners) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractInvoker<T>
This Invoker works on Consumer side.
|
class |
AsyncToSyncInvoker<T>
This class will work as a wrapper wrapping outside of each protocol invoker.
|
class |
InvokerWrapper<T>
InvokerWrapper
|
| 限定符和类型 | 方法和说明 |
|---|---|
Invoker<T> |
AbstractExporter.getInvoker() |
Invoker<T> |
AsyncToSyncInvoker.getInvoker() |
<T> Invoker<T> |
ProtocolListenerWrapper.refer(Class<T> type,
URL url) |
<T> Invoker<T> |
ProtocolFilterWrapper.refer(Class<T> type,
URL url) |
<T> Invoker<T> |
AbstractProtocol.refer(Class<T> type,
URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Exporter<T> |
ProtocolListenerWrapper.export(Invoker<T> invoker) |
<T> Exporter<T> |
ProtocolFilterWrapper.export(Invoker<T> invoker) |
<T> Exporter<T> |
AbstractProxyProtocol.export(Invoker<T> invoker) |
| 构造器和说明 |
|---|
AbstractExporter(Invoker<T> invoker) |
AsyncToSyncInvoker(Invoker<T> invoker) |
InvokerWrapper(Invoker<T> invoker,
URL url) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractProxyInvoker<T>
This Invoker works on provider side, delegates RPC to interface implementation.
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
AbstractProxyFactory.getProxy(Invoker<T> invoker) |
<T> T |
AbstractProxyFactory.getProxy(Invoker<T> invoker,
boolean generic) |
abstract <T> T |
AbstractProxyFactory.getProxy(Invoker<T> invoker,
Class<?>[] types) |
| 构造器和说明 |
|---|
InvokerInvocationHandler(Invoker<?> handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Invoker<T> |
JavassistProxyFactory.getInvoker(T proxy,
Class<T> type,
URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
JavassistProxyFactory.getProxy(Invoker<T> invoker,
Class<?>[] interfaces) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Invoker<T> |
JdkProxyFactory.getInvoker(T proxy,
Class<T> type,
URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
JdkProxyFactory.getProxy(Invoker<T> invoker,
Class<?>[] interfaces) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Invoker<T> |
StubProxyFactoryWrapper.getInvoker(T proxy,
Class<T> type,
URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
StubProxyFactoryWrapper.getProxy(Invoker<T> invoker) |
<T> T |
StubProxyFactoryWrapper.getProxy(Invoker<T> invoker,
boolean generic) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MockInvoker<T> |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> Invoker<T> |
MockProtocol.protocolBindingRefer(Class<T> type,
URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AccessLogData.buildAccessLogData(Invoker<?> invoker,
Invocation inv) |
<T> Exporter<T> |
MockProtocol.export(Invoker<T> invoker) |
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.