/module-plugin-test

Primary LanguageJavaThe UnlicenseUnlicense

Java 10 Modules as Plugins Demo

Minimal reference project for using Java Modules for runtime application extensions.

This project defines the modules: animals.core An "API module" extended by plugins and referenced by the application

animals.house An extension of animals.core that supplies Cat and Dog

animals.barn An extension of animals.core that supplies Sheep and Cow

petshop An application that loads animals.house and animals.barn at runtime and demonstrates retrieving the Class as well as initialize via SPI