Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
no classload speed up loader
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjing2 committed Jan 17, 2024
1 parent 1dfce92 commit 6a7dd11
Show file tree
Hide file tree
Showing 27 changed files with 25 additions and 723 deletions.
13 changes: 0 additions & 13 deletions samples/springboot3-samples/db/mybatis/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,6 @@
<artifactId>sofa-common-tools</artifactId>
<version>2.0.3</version>
</dependency>

<dependency>
<groupId>com.alipay.sofa.serverless</groupId>
<artifactId>sofa-serverless-adapter-log4j2</artifactId>
<version>${sofa.serverless.runtime.version}</version>
<exclusions>
<!-- 排除 sofa-boot-alipay-autoconfigure -->
<exclusion>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-boot-alipay-autoconfigure</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand Down
7 changes: 0 additions & 7 deletions samples/springboot3-samples/db/mybatis/biz1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@
<!-- <artifactId>spring-kafka</artifactId>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>com.alipay.sofa.serverless</groupId>
<artifactId>sofa-serverless-adapter-log4j2</artifactId>
<version>${sofa.serverless.runtime.version}</version>
<scope>provided</scope>
</dependency>

<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-actuator-autoconfigure</artifactId>-->
Expand Down
12 changes: 0 additions & 12 deletions samples/springboot3-samples/logging/log4j2/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@
<artifactId>disruptor</artifactId>
<version>${disruptor.version}</version>
</dependency>
<dependency>
<groupId>com.alipay.sofa.serverless</groupId>
<artifactId>sofa-serverless-adapter-log4j2</artifactId>
<version>${sofa.serverless.runtime.version}</version>
<exclusions>
<!-- 排除 sofa-boot-alipay-autoconfigure -->
<exclusion>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-boot-alipay-autoconfigure</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand Down
7 changes: 0 additions & 7 deletions samples/springboot3-samples/logging/log4j2/biz1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.alipay.sofa.serverless</groupId>
<artifactId>sofa-serverless-adapter-log4j2</artifactId>
<version>${sofa.serverless.runtime.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
Expand Down
6 changes: 0 additions & 6 deletions samples/springboot3-samples/logging/log4j2/biz2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@
<!-- <version>${sofa.serverless.runtime.version}</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>com.alipay.sofa.serverless</groupId>
<artifactId>sofa-serverless-adapter-log4j2</artifactId>
<version>${sofa.serverless.runtime.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
Expand Down
13 changes: 0 additions & 13 deletions samples/springboot3-samples/msg/kafka/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,6 @@
<artifactId>sofa-common-tools</artifactId>
<version>2.0.3</version>
</dependency>

<dependency>
<groupId>com.alipay.sofa.serverless</groupId>
<artifactId>sofa-serverless-adapter-log4j2</artifactId>
<version>${sofa.serverless.runtime.version}</version>
<exclusions>
<!-- 排除 sofa-boot-alipay-autoconfigure -->
<exclusion>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-boot-alipay-autoconfigure</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand Down
6 changes: 0 additions & 6 deletions samples/springboot3-samples/msg/kafka/biz1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@
<artifactId>spring-kafka</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.alipay.sofa.serverless</groupId>
<artifactId>sofa-serverless-adapter-log4j2</artifactId>
<version>${sofa.serverless.runtime.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
Expand Down
6 changes: 0 additions & 6 deletions samples/springboot3-samples/msg/kafka/biz2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@
<!-- <version>${sofa.serverless.runtime.version}</version>-->
<!-- <scope>provided</scope>-->
<!-- </dependency>-->
<dependency>
<groupId>com.alipay.sofa.serverless</groupId>
<artifactId>sofa-serverless-adapter-log4j2</artifactId>
<version>${sofa.serverless.runtime.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
Expand Down
3 changes: 1 addition & 2 deletions sofa-serverless-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<properties>
<sofa.ark.version>3.0.2-SNAPSHOT</sofa.ark.version>
<spring.boot.version>3.0.9</spring.boot.version>
<spring.boot.version>3.2.1</spring.boot.version>
<revision>0.5.6-jdk17-SNAPSHOT</revision>
<project.encoding>UTF-8</project.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -77,7 +77,6 @@
<module>arklet-core</module>
<module>arklet-springboot-starter</module>
<module>sofa-serverless-adapter-ext</module>
<module>sofa-serverless-base-loader</module>
</modules>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,22 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.alipay.sofa.serverless.adapter;

import com.alipay.sofa.ark.spi.model.PluginContext;
import com.alipay.sofa.ark.spi.service.PluginActivator;

/**
* @author lvjing2
* @since 0.5.5
*/
public class Dubbo26AdapterActivator implements PluginActivator {
@Override
public void start(PluginContext context) {
}

@Override
public void stop(PluginContext context) {
// no op
}
}
19 changes: 0 additions & 19 deletions sofa-serverless-runtime/sofa-serverless-base-loader/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

Loading

0 comments on commit 6a7dd11

Please sign in to comment.