File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
core/src/main/java/com/qq/tars/server/apps
examples/tars-spring-boot-http-server
src/main/java/com/tencent/tars/client/testapp Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3030import com .qq .tars .server .core .ServantAdapter ;
3131import com .qq .tars .server .core .ServantHomeSkeleton ;
3232import com .qq .tars .support .admin .impl .AdminFServantImpl ;
33+ import com .qq .tars .support .admin .AdminFServant ;
3334import com .qq .tars .support .om .OmConstants ;
3435import com .qq .tars .support .trace .TraceCallbackFilter ;
3536import com .qq .tars .support .trace .TraceClientFilter ;
@@ -91,7 +92,7 @@ void injectAdminServant() {
9192 try {
9293 String skeletonName = OmConstants .AdminServant ;
9394 ServantHomeSkeleton skeleton = new ServantHomeSkeleton (skeletonName ,
94- new AdminFServantImpl (), null , -1 );
95+ new AdminFServantImpl (), AdminFServant . class , -1 );
9596 skeleton .setAppContext (this );
9697
9798 ServerConfig serverCfg = ConfigurationManager .getInstance ().getServerConfig ();
Original file line number Diff line number Diff line change 3232 <groupId >com.tencent.tars</groupId >
3333 <artifactId >tars-spring-boot-starter</artifactId >
3434 <version >2.0.0</version >
35+ </dependency >
36+ <dependency >
37+ <groupId >com.tencent.tars</groupId >
38+ <artifactId >tars-logger-logback</artifactId >
39+ <version >2.0.0</version >
3540 </dependency >
3641 </dependencies >
3742
Original file line number Diff line number Diff line change 55
66package com .tencent .tars .client .testapp ;
77
8- import com .qq .tars .rpc .protocol .tars .support .TarsAbstractCallback ;
98
10- public abstract class HelloPrxCallback extends TarsAbstractCallback {
9+ public abstract class HelloPrxCallback {
1110
1211 public abstract void callback_hello (String ret );
1312
You can’t perform that action at this time.
0 commit comments