From 52e4e4e3019ba783ef2b116680fe93a5cac2f43a Mon Sep 17 00:00:00 2001 From: huazhongming Date: Sun, 21 May 2023 21:00:46 +0800 Subject: [PATCH] remove dubbo-native-plugin module (#12358) Signed-off-by: crazyhzm --- .artifacts | 1 - codecov.yml | 1 - dubbo-distribution/dubbo-bom/pom.xml | 7 - dubbo-native-plugin/pom.xml | 103 - .../dubbo/maven/plugin/ClassFinder.java | 93 - .../dubbo/maven/plugin/CodeGenerator.java | 122 - .../plugin/DubboNativeCodeGeneratorMojo.java | 88 - .../org/apache/dubbo/maven/plugin/Test.java | 30 - .../META-INF/native-image/jni-config.json | 2 - .../META-INF/native-image/proxy-config.json | 7 - .../META-INF/native-image/reflect-config.json | 3032 ----------------- .../native-image/resource-config.json | 169 - .../native-image/serialization-config.json | 2 - dubbo-test/dubbo-dependencies-all/pom.xml | 7 - pom.xml | 1 - 15 files changed, 3665 deletions(-) delete mode 100644 dubbo-native-plugin/pom.xml delete mode 100644 dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/ClassFinder.java delete mode 100644 dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java delete mode 100644 dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/DubboNativeCodeGeneratorMojo.java delete mode 100644 dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/Test.java delete mode 100644 dubbo-native-plugin/src/main/resources/META-INF/native-image/jni-config.json delete mode 100644 dubbo-native-plugin/src/main/resources/META-INF/native-image/proxy-config.json delete mode 100644 dubbo-native-plugin/src/main/resources/META-INF/native-image/reflect-config.json delete mode 100644 dubbo-native-plugin/src/main/resources/META-INF/native-image/resource-config.json delete mode 100644 dubbo-native-plugin/src/main/resources/META-INF/native-image/serialization-config.json diff --git a/.artifacts b/.artifacts index 47fa79e716..e1853baca8 100644 --- a/.artifacts +++ b/.artifacts @@ -66,7 +66,6 @@ dubbo-monitor dubbo-monitor-api dubbo-monitor-default dubbo-native -dubbo-native-plugin dubbo-parent dubbo-plugin dubbo-qos diff --git a/codecov.yml b/codecov.yml index 921ea5f110..6c5cd08250 100644 --- a/codecov.yml +++ b/codecov.yml @@ -29,7 +29,6 @@ ignore: - "**/dubbo-test/**" - "**/dubbo-compatible/**" - "**/dubbo-native/**" - - "**/dubbo-native-plugin/**" - "**/dubbo-common/src/main/java/org/apache/dubbo/common/json/*.java" # internal JSON impl is deprecate, ignore test coverage for them - "**/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/AnnotationBean.java" # Deprecated - "**/dubbo-rpc/dubbo-rpc-thrift/**" diff --git a/dubbo-distribution/dubbo-bom/pom.xml b/dubbo-distribution/dubbo-bom/pom.xml index 099f5533a0..b997f52fc0 100644 --- a/dubbo-distribution/dubbo-bom/pom.xml +++ b/dubbo-distribution/dubbo-bom/pom.xml @@ -286,13 +286,6 @@ ${project.version} - - - org.apache.dubbo - dubbo-native-plugin - ${project.version} - - org.apache.dubbo dubbo-maven-plugin diff --git a/dubbo-native-plugin/pom.xml b/dubbo-native-plugin/pom.xml deleted file mode 100644 index f3bf948f03..0000000000 --- a/dubbo-native-plugin/pom.xml +++ /dev/null @@ -1,103 +0,0 @@ - - - - dubbo-parent - org.apache.dubbo - ${revision} - - 4.0.0 - - dubbo-native-plugin - - - 11 - 11 - - maven-plugin - - - - - org.apache.maven - maven-plugin-api - 3.9.1 - - - - org.apache.maven - maven-core - 3.9.1 - provided - - - - - org.apache.maven.plugin-tools - maven-plugin-annotations - 3.8.1 - provided - - - - org.apache.dubbo - dubbo-common - ${project.version} - - - - - commons-io - commons-io - 2.11.0 - - - org.apache.dubbo - dubbo-metrics-default - ${project.parent.version} - - - - - - - - - maven-plugin-plugin - 3.8.1 - - - default-addPluginArtifactMetadata - package - - addPluginArtifactMetadata - - - - default-descriptor - process-classes - - descriptor - - - - - - - - diff --git a/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/ClassFinder.java b/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/ClassFinder.java deleted file mode 100644 index f05a20c2c8..0000000000 --- a/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/ClassFinder.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.dubbo.maven.plugin; - -import java.io.File; -import java.net.JarURLConnection; -import java.net.URL; -import java.util.Enumeration; -import java.util.HashSet; -import java.util.Set; -import java.util.function.Consumer; -import java.util.jar.JarEntry; -import java.util.jar.JarFile; - -public class ClassFinder { - - public Set findClassSet(String packageName, Consumer consumer) { - packageName = packageName.replace(".", "/"); - try { - ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); - Enumeration resources = classLoader.getResources(packageName); - Set result = new HashSet<>(); - while (resources.hasMoreElements()) { - URL resource = (URL) resources.nextElement(); - if (resource != null) { - String protocol = resource.getProtocol(); - if ("file".equals(protocol)) { - findClassesByFile(packageName, resource.getPath(), result); - } else if ("jar".equals(protocol)) { - JarFile jar = ((JarURLConnection) resource.openConnection()).getJarFile(); - consumer.accept("findClassSet jar:" + jar.getName()); - findClassesByJar(packageName, jar, result); - } - } - } - return result; - } catch (Throwable ex) { - throw new RuntimeException(ex); - } - } - - private void findClassesByFile(String packageName, String resource, Set result) { - File directory = new File(resource); - File[] listFiles = directory.listFiles(); - // null check - if (listFiles != null) { - for (File file : listFiles) { - if (file.isDirectory()) { - findClassesByFile(packageName, file.getPath(), result); - } else { - String path = file.getPath(); - if (path.endsWith(".class")) { - int packageIndex = path.indexOf(packageName.replace("/", File.separator)); - String classPath = path.substring(packageIndex, path.length() - 6); - result.add(classPath.replace(File.separator, ".")); - } - } - } - } - } - - private static void findClassesByJar(String packageName, JarFile jar, Set classes) { - Enumeration entry = jar.entries(); - JarEntry jarEntry; - String name; - while (entry.hasMoreElements()) { - jarEntry = entry.nextElement(); - name = jarEntry.getName(); - if (name.charAt(0) == '/') { - name = name.substring(1); - } - if (jarEntry.isDirectory() || !name.startsWith(packageName) || !name.endsWith(".class")) { - continue; - } - String className = name.substring(0, name.length() - 6); - classes.add(className.replace("/", ".")); - } - } -} diff --git a/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java b/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java deleted file mode 100644 index e3f02a6857..0000000000 --- a/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/CodeGenerator.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.dubbo.maven.plugin; - -import org.apache.dubbo.common.extension.Adaptive; -import org.apache.dubbo.common.extension.AdaptiveClassCodeGenerator; -import org.apache.dubbo.common.extension.SPI; -import org.apache.dubbo.common.utils.StringUtils; - -import org.apache.commons.io.FileUtils; -import org.apache.maven.plugin.logging.Log; -import org.apache.maven.plugin.logging.SystemStreamLog; - -import java.io.File; -import java.lang.annotation.Annotation; -import java.lang.reflect.Method; -import java.net.URL; -import java.nio.charset.Charset; -import java.nio.file.Paths; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Optional; -import java.util.regex.Matcher; -import java.util.stream.Collectors; - -/** - * generate related self-adaptive code (native image does not support dynamic code generation. Therefore, code needs to be generated before compilation) - */ -public class CodeGenerator { - - - public static void execute(String p, Log log) { - log.info("Start generating code:" + p); - List> classes = new ClassFinder().findClassSet("org.apache.dubbo", msg -> { - log.info(msg); - }).stream().map(it -> { - try { - return Class.forName(it); - } catch (Throwable e) { - } - return null; - }).collect(Collectors.toList()); - new ArrayList<>(classes).stream().filter(it -> { - if (null == it) { - return false; - } - Annotation anno = it.getAnnotation(SPI.class); - if (null == anno) { - return false; - } - try { - Optional optional = Arrays.stream(it.getMethods()).filter(it2 -> it2.getAnnotation(Adaptive.class) != null).findAny(); - return optional.isPresent(); - } catch (Throwable ex) { - log.warn(ex.getMessage()); - return false; - } - }).forEach(it -> { - try { - SPI spi = it.getAnnotation(SPI.class); - String value = spi.value(); - if (StringUtils.isEmpty(value)) { - value = "adaptive"; - } - AdaptiveClassCodeGenerator codeGenerator = new AdaptiveClassCodeGenerator(it, value); - String code = codeGenerator.generate(); - String file = p + File.separator + it.getName().replaceAll("\\.", Matcher.quoteReplacement(File.separator)); - String dir = Paths.get(file).getParent().toString(); - FileUtils.forceMkdir(new File(dir)); - code = licensedStr + code + "\n"; - File tmpFile = new File(file + "$Adaptive.java"); - FileUtils.write(tmpFile, code, Charset.defaultCharset()); - log.info("Generate file:" + tmpFile); - } catch (Throwable e) { - log.error("error:" + it.getPackage()); - } - }); - log.info("End of code generation"); - } - - - public static void main(String[] args) { - URL r = Thread.currentThread().getContextClassLoader().getResource(""); - String targetClassPath = new File(r.getFile()).getAbsolutePath(); - String p = Paths.get(targetClassPath).getParent().getParent().toString() + File.separator + "src" + File.separator + "main" + File.separator + "java"; - execute(p, new SystemStreamLog()); - } - - - private static String licensedStr = "/*\n" + - " * Licensed to the Apache Software Foundation (ASF) under one or more\n" + - " * contributor license agreements. See the NOTICE file distributed with\n" + - " * this work for additional information regarding copyright ownership.\n" + - " * The ASF licenses this file to You under the Apache License, Version 2.0\n" + - " * (the \"License\"); you may not use this file except in compliance with\n" + - " * the License. You may obtain a copy of the License at\n" + - " *\n" + - " * http://www.apache.org/licenses/LICENSE-2.0\n" + - " *\n" + - " * Unless required by applicable law or agreed to in writing, software\n" + - " * distributed under the License is distributed on an \"AS IS\" BASIS,\n" + - " * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n" + - " * See the License for the specific language governing permissions and\n" + - " * limitations under the License.\n" + - " */\n"; - -} diff --git a/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/DubboNativeCodeGeneratorMojo.java b/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/DubboNativeCodeGeneratorMojo.java deleted file mode 100644 index 76e7c27d78..0000000000 --- a/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/DubboNativeCodeGeneratorMojo.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.dubbo.maven.plugin; - -import org.apache.commons.io.FileUtils; -import org.apache.maven.plugin.AbstractMojo; -import org.apache.maven.plugin.logging.Log; -import org.apache.maven.plugins.annotations.Mojo; -import org.apache.maven.project.MavenProject; - -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.util.Arrays; -import java.util.List; - -/** - * generate related self-adaptive code (native image does not support dynamic code generation. Therefore, code needs to be generated before compilation) - */ -@Mojo(name = "generate") -public class DubboNativeCodeGeneratorMojo extends AbstractMojo { - - @Override - public void execute() { - Log log = getLog(); - log.info("dubbo native code generator mojo execute"); - MavenProject project = (MavenProject) this.getPluginContext().get("project"); - copyNativeConfigFile(log, project); - try { - generateCode(log, project); - } catch (Exception ignored) { - - } - } - - private void generateCode(Log log, MavenProject project) throws IOException { - String baseDir = project.getBasedir().getPath(); - File source = new File(baseDir + File.separator + "src" + File.separator + "main" + File.separator + "generated"); - FileUtils.forceMkdir(source); - project.addCompileSourceRoot(source.getAbsolutePath()); - log.info("Source directory: " + source + " added."); - List list = project.getCompileSourceRoots(); - log.info(list.toString()); - CodeGenerator.execute(source.getPath(), log); - } - - private void copyNativeConfigFile(Log log, MavenProject project) { - String[] nativeFiles = {"META-INF/native-image/reflect-config.json", - "META-INF/native-image/jni-config.json", - "META-INF/native-image/proxy-config.json", - "META-INF/native-image/resource-config.json", - "META-INF/native-image/serialization-config.json"}; - - Arrays.stream(nativeFiles).forEach(nativeFile -> { - InputStream is = DubboNativeCodeGeneratorMojo.class.getClassLoader().getResourceAsStream(nativeFile); - project.getResources().stream().findFirst().ifPresent(resource -> { - String directory = resource.getDirectory(); - try { - FileUtils.forceMkdir(new File(directory + File.separator + "META-INF" + File.separator + "native-image" + File.separator)); - File file = new File(directory + File.separator + nativeFile); - if (!file.exists()) { - FileUtils.copyInputStreamToFile(is, file); - log.info("Copy native config file:" + file); - } else { - log.info("Skip copy config file:" + file); - } - } catch (Throwable ex) { - log.error("Copy native config file error:" + ex.getMessage()); - } - }); - }); - } -} diff --git a/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/Test.java b/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/Test.java deleted file mode 100644 index 29fc80089e..0000000000 --- a/dubbo-native-plugin/src/main/java/org/apache/dubbo/maven/plugin/Test.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.dubbo.maven.plugin; - -import java.util.Set; - -public class Test { - - public static void main(String[] args) { - ClassFinder finder = new ClassFinder(); - Set set = finder.findClassSet("org.apache.dubbo", msg -> { - }); - System.out.println(set.size()); - } -} diff --git a/dubbo-native-plugin/src/main/resources/META-INF/native-image/jni-config.json b/dubbo-native-plugin/src/main/resources/META-INF/native-image/jni-config.json deleted file mode 100644 index 0d4f101c7a..0000000000 --- a/dubbo-native-plugin/src/main/resources/META-INF/native-image/jni-config.json +++ /dev/null @@ -1,2 +0,0 @@ -[ -] diff --git a/dubbo-native-plugin/src/main/resources/META-INF/native-image/proxy-config.json b/dubbo-native-plugin/src/main/resources/META-INF/native-image/proxy-config.json deleted file mode 100644 index 49f2fc2d51..0000000000 --- a/dubbo-native-plugin/src/main/resources/META-INF/native-image/proxy-config.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - [ - "org.apace.dubbo.graalvm.demo.DemoService", - "org.apache.dubbo.rpc.service.EchoService", - "org.apache.dubbo.rpc.service.Destroyable" - ] -] diff --git a/dubbo-native-plugin/src/main/resources/META-INF/native-image/reflect-config.json b/dubbo-native-plugin/src/main/resources/META-INF/native-image/reflect-config.json deleted file mode 100644 index 36afcc0820..0000000000 --- a/dubbo-native-plugin/src/main/resources/META-INF/native-image/reflect-config.json +++ /dev/null @@ -1,3032 +0,0 @@ -[ - { - "name": "boolean", - "allPublicMethods": true - }, - { - "name": "com.intellij.rt.execution.application.AppMainV2$Agent", - "methods": [ - { - "name": "premain", - "parameterTypes": [ - "java.lang.String", - "java.lang.instrument.Instrumentation" - ] - } - ] - }, - { - "name": "io.netty.bootstrap.ServerBootstrap$1" - }, - { - "name": "io.netty.bootstrap.ServerBootstrap$ServerBootstrapAcceptor", - "methods": [ - { - "name": "channelRead", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "exceptionCaught", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Throwable" - ] - } - ] - }, - { - "name": "io.netty.buffer.AbstractByteBufAllocator", - "allDeclaredMethods": true - }, - { - "name": "io.netty.buffer.AbstractReferenceCountedByteBuf", - "fields": [ - { - "name": "refCnt", - "allowUnsafeAccess": true - } - ] - }, - { - "name": "io.netty.channel.ChannelDuplexHandler", - "methods": [ - { - "name": "bind", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.net.SocketAddress", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "close", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "connect", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.net.SocketAddress", - "java.net.SocketAddress", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "deregister", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "disconnect", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "flush", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "read", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - } - ] - }, - { - "name": "io.netty.channel.ChannelHandlerAdapter", - "methods": [ - { - "name": "exceptionCaught", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Throwable" - ] - } - ] - }, - { - "name": "io.netty.channel.ChannelInboundHandlerAdapter", - "methods": [ - { - "name": "channelActive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelInactive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRead", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "channelReadComplete", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRegistered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelUnregistered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelWritabilityChanged", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "exceptionCaught", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Throwable" - ] - }, - { - "name": "userEventTriggered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - } - ] - }, - { - "name": "io.netty.channel.ChannelInitializer", - "methods": [ - { - "name": "channelRegistered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "exceptionCaught", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Throwable" - ] - } - ] - }, - { - "name": "io.netty.channel.ChannelOutboundHandlerAdapter", - "methods": [ - { - "name": "bind", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.net.SocketAddress", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "close", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "connect", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.net.SocketAddress", - "java.net.SocketAddress", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "deregister", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "disconnect", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "flush", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "read", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - } - ] - }, - { - "name": "io.netty.channel.DefaultChannelPipeline$HeadContext", - "methods": [ - { - "name": "bind", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.net.SocketAddress", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "channelActive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelInactive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRead", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "channelReadComplete", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRegistered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelUnregistered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelWritabilityChanged", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "close", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "connect", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.net.SocketAddress", - "java.net.SocketAddress", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "deregister", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "disconnect", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "io.netty.channel.ChannelPromise" - ] - }, - { - "name": "exceptionCaught", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Throwable" - ] - }, - { - "name": "flush", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "read", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "userEventTriggered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "write", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object", - "io.netty.channel.ChannelPromise" - ] - } - ] - }, - { - "name": "io.netty.channel.DefaultChannelPipeline$TailContext", - "methods": [ - { - "name": "channelActive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelInactive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRead", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "channelReadComplete", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRegistered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelUnregistered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelWritabilityChanged", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "exceptionCaught", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Throwable" - ] - }, - { - "name": "userEventTriggered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - } - ] - }, - { - "name": "io.netty.channel.socket.nio.NioServerSocketChannel", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "io.netty.channel.socket.nio.NioSocketChannel", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "io.netty.handler.codec.ByteToMessageDecoder", - "methods": [ - { - "name": "channelInactive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRead", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "channelReadComplete", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "userEventTriggered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - } - ] - }, - { - "name": "io.netty.handler.codec.MessageToByteEncoder", - "methods": [ - { - "name": "write", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object", - "io.netty.channel.ChannelPromise" - ] - } - ] - }, - { - "name": "io.netty.handler.timeout.IdleStateHandler", - "methods": [ - { - "name": "channelActive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelInactive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRead", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "channelReadComplete", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRegistered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "write", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object", - "io.netty.channel.ChannelPromise" - ] - } - ] - }, - { - "name": "io.netty.util.ReferenceCountUtil", - "allDeclaredMethods": true - }, - { - "name": "io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueColdProducerFields", - "fields": [ - { - "name": "producerLimit", - "allowUnsafeAccess": true - } - ] - }, - { - "name": "io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueConsumerFields", - "fields": [ - { - "name": "consumerIndex", - "allowUnsafeAccess": true - } - ] - }, - { - "name": "io.netty.util.internal.shaded.org.jctools.queues.BaseMpscLinkedArrayQueueProducerFields", - "fields": [ - { - "name": "producerIndex", - "allowUnsafeAccess": true - } - ] - }, - { - "name": "io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueueConsumerIndexField", - "fields": [ - { - "name": "consumerIndex", - "allowUnsafeAccess": true - } - ] - }, - { - "name": "io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueueProducerIndexField", - "fields": [ - { - "name": "producerIndex", - "allowUnsafeAccess": true - } - ] - }, - { - "name": "io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueueProducerLimitField", - "fields": [ - { - "name": "producerLimit", - "allowUnsafeAccess": true - } - ] - }, - { - "name": "java.io.File", - "methods": [ - { - "name": "", - "parameterTypes": [ - "java.lang.String" - ] - } - ] - }, - { - "name": "java.io.Serializable", - "allDeclaredMethods": true - }, - { - "name": "java.lang.Cloneable", - "allDeclaredMethods": true - }, - { - "name": "java.lang.Comparable", - "allDeclaredMethods": true - }, - { - "name": "java.lang.Enum", - "allDeclaredFields": true, - "allDeclaredMethods": true - }, - { - "name": "java.lang.Integer", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "name": "java.lang.Number", - "allDeclaredFields": true, - "allDeclaredMethods": true - }, - { - "name": "java.lang.Object", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allPublicMethods": true - }, - { - "name": "java.lang.StackTraceElement", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "name": "java.lang.String" - }, - { - "name": "java.lang.String[]" - }, - { - "name": "java.lang.Thread", - "methods": [ - { - "name": "getContextClassLoader", - "parameterTypes": [] - } - ] - }, - { - "name": "java.lang.Throwable", - "fields": [ - { - "name": "detailMessage" - }, - { - "name": "stackTrace" - } - ] - }, - { - "name": "java.lang.management.ManagementFactory", - "methods": [ - { - "name": "getRuntimeMXBean", - "parameterTypes": [] - } - ] - }, - { - "name": "java.lang.management.RuntimeMXBean", - "methods": [ - { - "name": "getName", - "parameterTypes": [] - } - ] - }, - { - "name": "java.math.BigDecimal", - "methods": [ - { - "name": "", - "parameterTypes": [ - "java.lang.String" - ] - } - ] - }, - { - "name": "java.math.BigInteger", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "name": "java.net.URL", - "fields": [ - { - "name": "ref" - } - ] - }, - { - "name": "java.nio.Bits", - "methods": [ - { - "name": "unaligned", - "parameterTypes": [] - } - ] - }, - { - "name": "java.nio.Buffer", - "fields": [ - { - "name": "address", - "allowUnsafeAccess": true - } - ] - }, - { - "name": "java.nio.DirectByteBuffer", - "fields": [ - { - "name": "cleaner", - "allowUnsafeAccess": true - } - ], - "methods": [ - { - "name": "", - "parameterTypes": [ - "long", - "int" - ] - } - ] - }, - { - "name": "java.security.MessageDigestSpi" - }, - { - "name": "java.sql.Date", - "methods": [ - { - "name": "", - "parameterTypes": [ - "long" - ] - } - ] - }, - { - "name": "java.sql.Time", - "methods": [ - { - "name": "", - "parameterTypes": [ - "long" - ] - } - ] - }, - { - "name": "java.sql.Timestamp", - "methods": [ - { - "name": "", - "parameterTypes": [ - "long" - ] - } - ] - }, - { - "name": "java.time.Duration" - }, - { - "name": "java.time.Instant" - }, - { - "name": "java.time.LocalDate" - }, - { - "name": "java.time.LocalDateTime" - }, - { - "name": "java.time.LocalTime" - }, - { - "name": "java.time.MonthDay" - }, - { - "name": "java.time.OffsetDateTime" - }, - { - "name": "java.time.OffsetTime" - }, - { - "name": "java.time.Period" - }, - { - "name": "java.time.Year" - }, - { - "name": "java.time.YearMonth" - }, - { - "name": "java.time.ZoneId" - }, - { - "name": "java.time.ZoneOffset" - }, - { - "name": "java.time.ZonedDateTime" - }, - { - "name": "java.util.AbstractMap", - "allDeclaredFields": true, - "allDeclaredMethods": true - }, - { - "name": "java.util.ArrayList", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "java.util.BitSet", - "allDeclaredFields": true - }, - { - "name": "java.util.HashMap", - "allDeclaredMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "java.util.LinkedHashMap", - "allPublicConstructors": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "java.util.Map", - "allDeclaredMethods": true - }, - { - "name": "java.util.NavigableMap", - "allDeclaredMethods": true - }, - { - "name": "java.util.SortedMap", - "allDeclaredMethods": true - }, - { - "name": "java.util.TreeMap", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "name": "java.util.Map", - "allPublicConstructors": true - }, - { - "name": "java.util.concurrent.ConcurrentNavigableMap" - }, - { - "name": "java.util.concurrent.ConcurrentSkipListMap" - }, - { - "name": "javax.management.ObjectName", - "methods": [ - { - "name": "", - "parameterTypes": [ - "java.lang.String" - ] - } - ] - }, - { - "name": "org.apace.dubbo.graalvm.demo.DemoService", - "allPublicMethods": true - }, - { - "name": "org.apache.curator.x.discovery.ServiceType", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "name": "org.apache.curator.x.discovery.details.OldServiceInstance", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "name": "org.apache.dubbo.common.CommonScopeModelInitializer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.serialize.hessian2.Hessian2ScopeModelInitializer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.serialize.fastjson2.Fastjson2ScopeModelInitializer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.URL", - "allDeclaredFields": true - }, - { - "name": "org.apache.dubbo.common.beans.ScopeBeanExtensionInjector", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.compiler.support.AdaptiveCompiler", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.compiler.support.JavassistCompiler", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.compiler.support.JdkCompiler", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.config.Environment", - "allPublicMethods": true, - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.common.config.ModuleEnvironment", - "allPublicMethods": true, - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.common.config.configcenter.file.FileSystemDynamicConfigurationFactory" - }, - { - "name": "org.apache.dubbo.common.config.configcenter.nop.NopDynamicConfigurationFactory" - }, - { - "name": "org.apache.dubbo.common.extension.inject.AdaptiveExtensionInjector", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.extension.inject.SpiExtensionInjector", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.infra.support.EnvironmentAdapter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.lang.ShutdownHookCallbacks", - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.common.logger.jcl.JclLoggerAdapter" - }, - { - "name": "org.apache.dubbo.common.logger.jdk.JdkLoggerAdapter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.logger.log4j.Log4jLoggerAdapter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.logger.log4j2.Log4j2LoggerAdapter" - }, - { - "name": "org.apache.dubbo.common.logger.slf4j.Slf4jLoggerAdapter" - }, - { - "name": "org.apache.dubbo.common.serialize.hessian2.Hessian2Serialization", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.serialize.hessian2.Hessian2FactoryManager", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.model.FrameworkModel" - ] - } - ] - }, - { - "name": "org.apache.dubbo.common.serialize.fastjson2.FastJson2Serialization", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.serialize.fastjson2.Fastjson2CreatorManager", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.model.FrameworkModel" - ] - } - ] - }, - { - "name": "org.apache.dubbo.common.serialize.fastjson2.Fastjson2SecurityManager", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.model.FrameworkModel" - ] - } - ] - }, - { - "name": "org.apache.dubbo.common.utils.SerializeSecurityConfigurator", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.model.ModuleModel" - ] - } - ] - }, - { - "name": "org.apache.dubbo.common.utils.SerializeSecurityManager", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - ] - } - ] - }, - { - "name": "org.apache.dubbo.common.utils.DefaultSerializeClassChecker", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.model.FrameworkModel" - ] - } - ] - }, - { - "name": "org.apache.dubbo.common.utils.SerializeClassChecker", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.status.reporter.FrameworkStatusReportService", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.threadpool.ThreadPool", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.common.threadpool.ThreadPool$Adaptive", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.threadpool.manager.DefaultExecutorRepository", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.ApplicationModel"] - } - ] - }, - { - "name": "org.apache.dubbo.common.threadpool.support.cached.CachedThreadPool", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.threadpool.support.eager.EagerThreadPool" - }, - { - "name": "org.apache.dubbo.common.threadpool.support.fixed.FixedThreadPool", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.threadpool.support.limited.LimitedThreadPool" - }, - { - "name": "org.apache.dubbo.common.url.component.URLAddress", - "allDeclaredFields": true - }, - { - "name": "org.apache.dubbo.common.url.component.URLParam", - "allDeclaredFields": true - }, - { - "name": "org.apache.dubbo.common.url.component.param.DefaultDynamicParamSource", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.AbstractConfig", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.AbstractInterfaceConfig", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.AbstractMethodConfig", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.AbstractReferenceConfig", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.AbstractServiceConfig", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.ApplicationConfig", - "allPublicMethods": true, - "fields": [ - { - "name": "monitor" - }, - { - "name": "registries" - } - ] - }, - { - "name": "org.apache.dubbo.config.ArgumentConfig", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.ConfigCenterConfig", - "allPublicMethods": true, - "fields": [ - { - "name": "appExternalConfiguration" - }, - { - "name": "externalConfiguration" - } - ] - }, - { - "name": "org.apache.dubbo.config.ConfigScopeModelInitializer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.ConsumerConfig", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.MethodConfig", - "allPublicMethods": true, - "fields": [ - { - "name": "arguments" - } - ] - }, - { - "name": "org.apache.dubbo.config.ModuleConfig", - "allPublicMethods": true, - "fields": [ - { - "name": "monitor" - }, - { - "name": "registries" - } - ], - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.ProtocolConfig", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.ProviderConfig", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.ReferenceConfig", - "allPublicMethods": true, - "fields": [ - { - "name": "invoker" - } - ] - }, - { - "name": "org.apache.dubbo.config.ReferenceConfigBase", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.RegistryConfig", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.ServiceConfig", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.ServiceConfigBase", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.config.SslConfig", - "allPublicMethods": true, - "fields": [ - { - "name": "clientKeyCertChainPathStream" - }, - { - "name": "clientPrivateKeyPathStream" - }, - { - "name": "clientTrustCertCollectionPathStream" - }, - { - "name": "serverKeyCertChainPathStream" - }, - { - "name": "serverPrivateKeyPathStream" - }, - { - "name": "serverTrustCertCollectionPathStream" - } - ], - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.context.ConfigManager", - "allPublicMethods": true, - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.config.deploy.DefaultApplicationDeployer", - "allPublicConstructors": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.ApplicationModel"] - } - ] - }, - { - "name": "org.apache.dubbo.config.deploy.DefaultModuleDeployer", - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.config.metadata.ConfigurableMetadataServiceExporter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.metadata.ServiceInstanceHostPortCustomizer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.utils.DefaultConfigValidator", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfigurationFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.model.ApplicationModel" - ] - } - ] - }, - { - "name": "org.apache.dubbo.demo.graalvm.provider.DemoServiceImpl", - "methods": [ - { - "name": "sayHello", - "parameterTypes": [ - "java.lang.String" - ] - } - ] - }, - { - "name": "org.apache.dubbo.metadata.InstanceMetadataChangedListener", - "allDeclaredFields": true - }, - { - "name": "org.apache.dubbo.metadata.MetadataInfo", - "allDeclaredFields": true - }, - { - "name": "org.apache.dubbo.metadata.MetadataInfo$ServiceInfo", - "allDeclaredFields": true - }, - { - "name": "org.apache.dubbo.metadata.MetadataService", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.metadata.definition.builder.ArrayTypeBuilder", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.metadata.definition.builder.CollectionTypeBuilder", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.metadata.definition.builder.EnumTypeBuilder", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.metadata.definition.builder.MapTypeBuilder", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.metadata.definition.model.MethodDefinition", - "allDeclaredFields": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.metadata.definition.model.ServiceDefinition", - "allDeclaredFields": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.metadata.definition.model.TypeDefinition", - "allDeclaredFields": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.metadata.report.MetadataReportInstance", - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.ApplicationModel"] - } - ] - }, - { - "name": "org.apache.dubbo.metadata.report.MetadataScopeModelInitializer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.monitor.MetricsService", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.monitor.MonitorService", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.monitor.support.MetricsServiceDetector", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.monitor.support.MonitorFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.monitor.support.MonitorClusterFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.monitor.support.MonitorFilter" - }, - { - "name": "org.apache.dubbo.monitor.support.MonitorServiceDetector", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.RegistryFactory", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.registry.RegistryFactory$Adaptive", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.RegistryFactoryWrapper", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.registry.RegistryFactory" - ] - } - ] - }, - { - "name": "org.apache.dubbo.registry.RegistryScopeModelInitializer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.DefaultRegistryClusterIdentifier", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.DefaultServiceInstance$Endpoint", - "allDeclaredFields": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.ServiceDiscoveryRegistryFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.metadata.MetadataServiceNameMapping", - "allPublicMethods": true, - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.registry.client.metadata.MetadataServiceURLParamsMetadataCustomizer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.metadata.ProtocolPortsMetadataCustomizer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.metadata.ServiceInstanceMetadataCustomizer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.metadata.store.InMemoryWritableMetadataService", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.metadata.store.RemoteMetadataServiceImpl", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.migration.DefaultMigrationAddressComparator", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.client.migration.MigrationRuleListener", - "allPublicMethods": true, - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.registry.integration.InterfaceCompatibleRegistryProtocol", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.integration.RegistryProtocol", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.multicast.MulticastRegistryFactory" - }, - { - "name": "org.apache.dubbo.registry.multicast.MulticastServiceDiscoveryFactory" - }, - { - "name": "org.apache.dubbo.registry.support.DefaultProviderFirstParams", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.support.RegistryManager", - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.registry.zookeeper.ZookeeperInstance", - "allDeclaredFields": true, - "allDeclaredMethods": true, - "allDeclaredConstructors": true - }, - { - "name": "org.apache.dubbo.registry.zookeeper.ZookeeperRegistryFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.registry.zookeeper.ZookeeperServiceDiscoveryFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.remoting.Dispatcher", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.remoting.Dispatcher$Adaptive", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.remoting.Transporter", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.remoting.Transporter$Adaptive", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.remoting.exchange.codec.ExchangeCodec" - }, - { - "name": "org.apache.dubbo.remoting.exchange.support.header.HeaderExchanger", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.remoting.telnet.codec.TelnetCodec" - }, - { - "name": "org.apache.dubbo.remoting.transport.codec.TransportCodec" - }, - { - "name": "org.apache.dubbo.remoting.transport.dispatcher.all.AllDispatcher", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.remoting.transport.dispatcher.connection.ConnectionOrderedDispatcher" - }, - { - "name": "org.apache.dubbo.remoting.transport.dispatcher.direct.DirectDispatcher" - }, - { - "name": "org.apache.dubbo.remoting.transport.dispatcher.execution.ExecutionDispatcher" - }, - { - "name": "org.apache.dubbo.remoting.transport.dispatcher.message.MessageOnlyDispatcher" - }, - { - "name": "org.apache.dubbo.remoting.transport.netty4.NettyClient$1" - }, - { - "name": "org.apache.dubbo.remoting.transport.netty4.NettyClientHandler", - "methods": [ - { - "name": "channelActive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelInactive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRead", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "exceptionCaught", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Throwable" - ] - }, - { - "name": "userEventTriggered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "write", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object", - "io.netty.channel.ChannelPromise" - ] - } - ] - }, - { - "name": "org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalDecoder" - }, - { - "name": "org.apache.dubbo.remoting.transport.netty4.NettyCodecAdapter$InternalEncoder" - }, - { - "name": "org.apache.dubbo.remoting.transport.netty4.NettyServer$1" - }, - { - "name": "org.apache.dubbo.remoting.transport.netty4.NettyServerHandler", - "methods": [ - { - "name": "channelActive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelInactive", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext" - ] - }, - { - "name": "channelRead", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "exceptionCaught", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Throwable" - ] - }, - { - "name": "userEventTriggered", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object" - ] - }, - { - "name": "write", - "parameterTypes": [ - "io.netty.channel.ChannelHandlerContext", - "java.lang.Object", - "io.netty.channel.ChannelPromise" - ] - } - ] - }, - { - "name": "org.apache.dubbo.remoting.transport.netty4.NettyTransporter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperTransporter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperTransporter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.Invoker", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.Protocol", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.Protocol$Adaptive", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.ProxyFactory", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.ProxyFactory$Adaptive", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.Cluster", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.cluster.Cluster$Adaptive", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.ClusterScopeModelInitializer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.metrics.MetricsScopeModelInitializer", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.ConfiguratorFactory", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.cluster.ConfiguratorFactory$Adaptive", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.Directory", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.cluster.RouterFactory", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.cluster.RouterFactory$Adaptive", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.configurator.absent.AbsentConfiguratorFactory" - }, - { - "name": "org.apache.dubbo.rpc.cluster.configurator.override.OverrideConfiguratorFactory" - }, - { - "name": "org.apache.dubbo.rpc.cluster.filter.DefaultFilterChainBuilder", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.Protocol" - ] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.filter.support.ConsumerContextFilter", - "allPublicMethods": true, - "allPublicConstructors": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.ApplicationModel"] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.filter.support.ZoneAwareFilter" - }, - { - "name": "org.apache.dubbo.rpc.cluster.governance.DefaultGovernanceRuleRepositoryImpl", - "allPublicMethods": true, - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.rpc.cluster.loadbalance.ConsistentHashLoadBalance" - }, - { - "name": "org.apache.dubbo.rpc.cluster.loadbalance.LeastActiveLoadBalance" - }, - { - "name": "org.apache.dubbo.rpc.cluster.loadbalance.RandomLoadBalance", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.loadbalance.RoundRobinLoadBalance" - }, - { - "name": "org.apache.dubbo.rpc.cluster.loadbalance.ShortestResponseLoadBalance" - }, - { - "name": "org.apache.dubbo.rpc.cluster.merger.MergerFactory", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.ClusterUtils", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.filter.AccessLogFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.filter.ClassLoaderFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.filter.CompatibleFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.ContextFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.ApplicationModel"] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.filter.DeprecatedFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.EchoFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.filter.ExceptionFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.filter.ExecuteLimitFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.GenericFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.filter.GenericImplFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.model.ModuleModel" - ] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.filter.TimeoutFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.condition.ConditionRouterFactory" - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.condition.config.AppStateRouterFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.condition.config.ServiceStateRouterFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.file.FileStateRouterFactory" - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.mesh.route.MeshRuleAddressListenerInterceptor", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.mesh.route.StandardMeshRuleRouterFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.mock.MockStateRouterFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.tag.TagDynamicStateRouterFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.tag.TagRouterFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.tag.TagStaticStateRouterFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.AvailableCluster" - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.BroadcastCluster" - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.ClusterUtils", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.FailbackCluster" - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.FailfastCluster" - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.FailoverCluster", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.FailsafeCluster" - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.ForkingCluster" - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.MergeableCluster" - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.merger.DefaultProviderURLMergeProcessor", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.registry.ZoneAwareCluster" - }, - { - "name": "org.apache.dubbo.rpc.cluster.support.wrapper.MockClusterWrapper", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.cluster.Cluster" - ] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.filter.AccessLogFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.ClassLoaderFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.CompatibleFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.DeprecatedFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.EchoFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.ExceptionFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.ExecuteLimitFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.GenericFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.TimeoutFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.TokenFilter" - }, - { - "name": "org.apache.dubbo.rpc.filter.TpsLimitFilter" - }, - { - "name": "org.apache.dubbo.rpc.listener.DeprecatedInvokerListener" - }, - { - "name": "org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.Protocol" - ] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.protocol.ProtocolSerializationWrapper", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.Protocol" - ] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.protocol.dubbo.DubboCountCodec", - "allPublicMethods": true, - "allPublicConstructors": true - }, - { - "name": "org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.FrameworkModel"] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.AdaptiveMetrics", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter" - }, - { - "name": "org.apache.dubbo.rpc.protocol.injvm.InjvmProtocol", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.ssl.impl.SSLConfigCertProvider", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.security.cert.DubboCertManager", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.FrameworkModel"] - } - ] - }, - { - "name": "org.apache.dubbo.common.ssl.CertManager", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.FrameworkModel"] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory" - }, - { - "name": "org.apache.dubbo.rpc.proxy.jdk.JdkProxyFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.proxy.wrapper.StubProxyFactoryWrapper", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [ - "org.apache.dubbo.rpc.ProxyFactory" - ] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.service.Destroyable", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.service.EchoService", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.service.EchoServiceDetector", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.service.GenericService", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.rpc.service.GenericServiceDetector", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.support.MockProtocol" - }, - { - "name": "org.apache.log4j.Appender" - }, - { - "name": "org.apache.log4j.Category" - }, - { - "name": "org.apache.log4j.CategoryKey" - }, - { - "name": "org.apache.log4j.ConsoleAppender", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.log4j.Layout", - "allPublicMethods": true - }, - { - "name": "org.apache.log4j.Logger" - }, - { - "name": "org.apache.log4j.PatternLayout", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.logging.log4j.Level", - "allPublicMethods": true - }, - { - "name": "org.apache.log4j.helpers.Loader" - }, - { - "name": "org.apache.log4j.spi.OptionHandler" - }, - { - "name": "org.apache.zookeeper.ClientCnxnSocketNIO", - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.zookeeper.client.ZKClientConfig"] - }, - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "sun.misc.Cleaner", - "methods": [ - { - "name": "clean", - "parameterTypes": [] - } - ] - }, - { - "name": "sun.misc.Unsafe", - "fields": [ - { - "name": "theUnsafe" - } - ], - "methods": [ - { - "name": "copyMemory", - "parameterTypes": [ - "java.lang.Object", - "long", - "java.lang.Object", - "long", - "long" - ] - }, - { - "name": "getAndAddLong", - "parameterTypes": [ - "java.lang.Object", - "long", - "long" - ] - }, - { - "name": "getAndSetObject", - "parameterTypes": [ - "java.lang.Object", - "long", - "java.lang.Object" - ] - } - ] - }, - { - "name": "sun.misc.VM", - "methods": [ - { - "name": "maxDirectMemory", - "parameterTypes": [] - } - ] - }, - { - "name": "sun.nio.ch.SelectorImpl", - "fields": [ - { - "name": "publicSelectedKeys" - }, - { - "name": "selectedKeys" - } - ] - }, - { - "name": "sun.security.provider.ConfigFile", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "sun.security.provider.MD5", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "sun.security.provider.NativePRNG", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "sun.security.provider.SHA", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "sun.security.provider.Sun", - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.RouterSnapshotSwitcher", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.threadpool.manager.FrameworkExecutorRepository", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.common.convert.ConverterUtil", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.FrameworkModel"] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.mesh.route.MeshRuleManager", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.ModuleModel"] - } - ] - }, - { - "name": "org.apache.dubbo.config.context.ModuleConfigManager", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.ModuleModel"] - } - ] - }, - { - "name": "org.apache.dubbo.common.store.support.SimpleDataStore", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.metrics.collector.DefaultMetricsCollector", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.config.deploy.DefaultMetricsServiceExporter", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.condition.matcher.attachment.AttachmentConditionMatcherFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.condition.matcher.argument.ArgumentConditionMatcherFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.condition.matcher.param.UrlParamConditionMatcherFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.condition.matcher.pattern.range.RangeValuePattern", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.condition.matcher.pattern.wildcard.WildcardValuePattern", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.condition.config.ProviderAppStateRouterFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "org.apache.dubbo.rpc.cluster.router.script.config.AppScriptRouterFactory", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": [] - } - ] - }, - { - "name": "com.alibaba.fastjson.JSON", - "allPublicMethods": true - }, - { - "name": "java.util.Collections$UnmodifiableMap", - "allPublicMethods": true - }, - { - "name": "java.util.Collections$UnmodifiableCollection", - "allPublicMethods": true - }, - { - "name": "org.apache.dubbo.metrics.event.MetricsDispatcher", - "allPublicMethods": true, - "methods": [ - { - "name": "", - "parameterTypes": ["org.apache.dubbo.rpc.model.ApplicationModel"] - } - ] - } -] diff --git a/dubbo-native-plugin/src/main/resources/META-INF/native-image/resource-config.json b/dubbo-native-plugin/src/main/resources/META-INF/native-image/resource-config.json deleted file mode 100644 index 51f17b21af..0000000000 --- a/dubbo-native-plugin/src/main/resources/META-INF/native-image/resource-config.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "resources": { - "includes": [ - { - "pattern": "\\QDENY_CLASS\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.compiler.Compiler\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.config.configcenter.DynamicConfigurationFactory\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.context.ApplicationExt\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.context.ModuleExt\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.extension.ExtensionInjector\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.infra.InfraAdapter\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.logger.LoggerAdapter\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.serialize.Serialization\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.threadpool.ThreadPool\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.threadpool.manager.ExecutorRepository\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.url.component.param.DynamicParamSource\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.metadata.MetadataServiceExporter\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.metadata.ServiceNameMapping\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.metadata.definition.builder.TypeBuilder\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.registry.AddressListener\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.registry.ProviderFirstParams\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.registry.RegistryFactory\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.registry.client.RegistryClusterIdentifier\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.registry.client.ServiceDiscoveryFactory\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.registry.client.ServiceInstanceCustomizer\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.registry.client.migration.MigrationAddressComparator\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.registry.integration.RegistryProtocolListener\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.remoting.Codec2\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.remoting.Dispatcher\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.remoting.Transporter\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.remoting.exchange.Exchanger\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.Filter\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.InvokerListener\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.Protocol\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.ProxyFactory\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.cluster.Cluster\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.cluster.ConfiguratorFactory\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.cluster.LoadBalance\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.cluster.ProviderURLMergeProcessor\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.cluster.RouterFactory\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.cluster.filter.ClusterFilter\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.cluster.governance.GovernanceRuleRepository\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.cluster.router.state.StateRouterFactory\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.model.BuiltinServiceDetector\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.rpc.model.ScopeModelInitializer\\E" - }, - { - "pattern": "\\QMETA-INF/services/org.apache.dubbo.common.extension.LoadingStrategy\\E" - }, - { - "pattern": "\\Qdubbo.properties\\E" - }, - { - "pattern": "\\Qlog4j.properties\\E" - }, - { - "pattern": "\\Qorg/apache/dubbo/common/Version.class\\E" - }, - { - "pattern": "\\Qorg/apache/dubbo/remoting/RemotingException.class\\E" - }, - { - "pattern": "\\Qorg/apache/dubbo/remoting/Transporters.class\\E" - }, - { - "pattern": "\\Qorg/apache/dubbo/remoting/exchange/Exchangers.class\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.common.store.DataStore\\E" - }, - { - "pattern": "\\QMETA-INF/dubbo/internal/org.apache.dubbo.metrics.service.MetricsServiceExporter\\E" - }, - { - "pattern": "\\Qsecurity/serialize.blockedlist\\E" - }, - { - "pattern": "\\Qsecurity/serialize.allowlist\\E" - } - ] - }, - "bundles": [] -} diff --git a/dubbo-native-plugin/src/main/resources/META-INF/native-image/serialization-config.json b/dubbo-native-plugin/src/main/resources/META-INF/native-image/serialization-config.json deleted file mode 100644 index 0d4f101c7a..0000000000 --- a/dubbo-native-plugin/src/main/resources/META-INF/native-image/serialization-config.json +++ /dev/null @@ -1,2 +0,0 @@ -[ -] diff --git a/dubbo-test/dubbo-dependencies-all/pom.xml b/dubbo-test/dubbo-dependencies-all/pom.xml index c5be3c0c8c..feec7f36d3 100644 --- a/dubbo-test/dubbo-dependencies-all/pom.xml +++ b/dubbo-test/dubbo-dependencies-all/pom.xml @@ -218,13 +218,6 @@ ${project.version} - - - org.apache.dubbo - dubbo-native-plugin - ${project.version} - - org.apache.dubbo dubbo-maven-plugin diff --git a/pom.xml b/pom.xml index c6e8b020fb..f5c7319cc5 100644 --- a/pom.xml +++ b/pom.xml @@ -168,7 +168,6 @@ dubbo-test dubbo-kubernetes dubbo-xds - dubbo-native-plugin dubbo-maven-plugin