OpenSearch/distribution
Ryan Ernst 40f119d85a This method on settings loaded a class, based on a setting value, using
the default classloader. It had all kinds of leniency in how the
classname was found, and simply cannot work with plugins having isolated
classloaders.

This change removes that method. Some of the uses of it were for custom
extension points, like custom repository or discovery types. A lot were
just there to plugin mock implementations for tests. For the settings
that were legitimate, all now support plugins adding the given setting
via onModule. For those that were specific to tests for mocks, they now
use Classes.loadClass (a helper around Class.forName). This is a
temporary measure until (in a future PR) tests can change the
implementation via package private statics.

I also removed a number of unnecessary intermediate modules, added a
"jvm-example" plugin that can be filled in in the future as a smoke test
for breaking plugins, and gave some documentation to "spawn" modules
interface.

closes #12643
closes #12656
2015-08-10 14:04:45 -07:00
..
deb Packaging: Makes sure all POMs contain a description 2015-08-10 15:21:24 +01:00
fully-loaded Change master branch back to 2.0-beta1 2015-08-04 15:38:21 -04:00
licenses Startup: Remove getopt parsing in shell script, use java CLITool 2015-07-30 13:20:29 +02:00
rpm Packaging: Makes sure all POMs contain a description 2015-08-10 15:21:24 +01:00
shaded remove annoying maven warning 2015-08-05 22:08:12 -04:00
src/main This method on settings loaded a class, based on a setting value, using 2015-08-10 14:04:45 -07:00
tar Packaging: Makes sure all POMs contain a description 2015-08-10 15:21:24 +01:00
zip Packaging: Makes sure all POMs contain a description 2015-08-10 15:21:24 +01:00
pom.xml Enable the license checker over distribution/* and plugins/* 2015-08-09 18:18:59 +02:00