Skip to content

erupt-pf4j Dynamic Plugin Loading

Implements dynamic plugin loading for the Erupt ecosystem based on PF4J, supporting hot-loading of Erupt modules without restarting the application.

Features

  • During development, after modifying Erupt code, restart the plugin from the admin interface instead of restarting the entire application
  • In production, dynamically load Erupt modules via jar or zip files without redeploying

Usage

With the erupt dependency already included, add erupt-pf4j:

xml
<!-- Repository configuration -->
<repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
</repository>

<!-- Dependency -->
<dependency>
  <groupId>com.github.snice</groupId>
  <artifactId>erupt-pf4j</artifactId>
  <version>0.0.1</version>
</dependency>

Contributors

The avatar of contributor named as YuePeng YuePeng
The avatar of contributor named as Claude Opus 5 (1M context) Claude Opus 5 (1M context)

Changelog

Released under the Apache-2.0 License.