public abstract class JbootrpcBase extends Object implements Jbootrpc
| 限定符和类型 | 字段和说明 |
|---|---|
protected static JbootrpcConfig |
rpcConfig |
protected static Map<String,Object> |
serviceCache |
private boolean |
started |
| 构造器和说明 |
|---|
JbootrpcBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
buildKey(Class<?> interfaceClass,
JbootrpcReferenceConfig config) |
protected void |
invokeOnStartIfNecessary() |
boolean |
isStarted() |
abstract <T> T |
onServiceCreate(Class<T> serviceClass,
JbootrpcReferenceConfig config) |
void |
onStart() |
void |
onStop() |
<T> T |
serviceObtain(Class<T> interfaceClass,
JbootrpcReferenceConfig config) |
void |
setStarted(boolean started) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserviceExportprotected static final Map<String,Object> serviceCache
protected static JbootrpcConfig rpcConfig
private boolean started
public JbootrpcBase()
public <T> T serviceObtain(Class<T> interfaceClass, JbootrpcReferenceConfig config)
serviceObtain 在接口中 Jbootrpcprotected String buildKey(Class<?> interfaceClass, JbootrpcReferenceConfig config)
protected void invokeOnStartIfNecessary()
public abstract <T> T onServiceCreate(Class<T> serviceClass, JbootrpcReferenceConfig config)
public boolean isStarted()
public void setStarted(boolean started)
Copyright © 2024. All rights reserved.