RestProtocol will be failed to export. (#2965)
* [REST] make the model init before export * add line return to ActiveLimitFilter for checkstyle rule
This commit is contained in:
parent
f5be817c00
commit
31de87008a
|
|
@ -310,9 +310,9 @@ public class ServiceConfig<T> extends AbstractServiceConfig {
|
|||
if (path == null || path.length() == 0) {
|
||||
path = interfaceName;
|
||||
}
|
||||
doExportUrls();
|
||||
ProviderModel providerModel = new ProviderModel(getUniqueServiceName(), ref, interfaceClass);
|
||||
ApplicationModel.initProviderModel(getUniqueServiceName(), providerModel);
|
||||
doExportUrls();
|
||||
}
|
||||
|
||||
private void checkRef() {
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ import org.apache.dubbo.rpc.Invoker;
|
|||
import org.apache.dubbo.rpc.Result;
|
||||
import org.apache.dubbo.rpc.RpcException;
|
||||
import org.apache.dubbo.rpc.RpcStatus;
|
||||
|
||||
import java.util.concurrent.Semaphore;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue