Skip to content

Commit

Permalink
Support get alibaba GenericService from spring context
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Jun 22, 2023
1 parent e79e021 commit cbf61db
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ public interface GenericService extends org.apache.dubbo.rpc.service.GenericServ

@Override
Object $invoke(String method, String[] parameterTypes, Object[] args)
throws com.alibaba.dubbo.rpc.service.GenericException;
throws GenericException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public static Class<?> determineInterfaceClass(String generic, String interfaceN

public static Class<?> determineInterfaceClass(String generic, String interfaceName, ClassLoader classLoader) {
if (ProtocolUtils.isGeneric(generic)) {
return GenericService.class;
return com.alibaba.dubbo.rpc.service.GenericService.class;
}
try {
if (StringUtils.isNotEmpty(interfaceName)) {
Expand Down

0 comments on commit cbf61db

Please sign in to comment.