OpenSearch/plugins
Ryan Ernst 6dcfda99e8 Internal: Remove ClassLoader from Settings
Settings currently has a classloader member, which any user (plugin
or core ES code) can access to load classes/resources. This is extremely
error prone as setting the classloder on the Settings instance is a
public method. Furthermore, it is not really necessary. Classes that
need resources should load resources using normal means
(getClass().getResourceAsStream). Those that need classes
should use Class.forName, which will load the class with the
same classloader as the calling class. This means, in the few
places where classes are loaded by string name, they will use
the appropriate loader: either the default classloader which loads
core ES code, or a child classloader for each plugin.

This change removes the classloader member from Settings, as
well as other classloader related uses (except for a handful
of cases which must use a classloader, at least for now).
2015-08-13 23:55:27 -07:00
..
analysis-icu Tests: Fix SimpleIcuAnalysisTests to not load a non-existent configuration file. 2015-08-13 14:39:10 +02:00
analysis-kuromoji Internal: Remove ClassLoader from Settings 2015-08-13 23:55:27 -07:00
analysis-phonetic Internal: Remove ClassLoader from Settings 2015-08-13 23:55:27 -07:00
analysis-smartcn Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
analysis-stempel Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
cloud-aws Merge branch 'aws/base_path' 2015-08-13 15:29:00 +02:00
cloud-azure Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
cloud-gce Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
delete-by-query Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
jvm-example Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
lang-javascript Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
lang-python Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
mapper-size Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
site-example Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00
pom.xml Cut over master to 2.0.0-SNAPSHOT 2015-08-12 21:16:08 +02:00