Class PluginLoader
- java.lang.Object
-
- ch.sahits.game.openpatrician.utilities.plugin.PluginLoader
-
public class PluginLoader extends java.lang.Object
- Author:
- Andi Hotz, (c) Sahits GmbH, 2016 Created on Feb 15, 2016
-
-
Field Summary
Fields Modifier and Type Field Description private org.springframework.context.support.ReloadableResourceBundleMessageSource
messageSource
private java.util.List<IResourcePropertyLoader>
resourcePropertyLoaders
private org.springframework.context.support.ReloadableResourceBundleMessageSource
resourceReference
private java.util.List<ITextPropertyLoader>
textPropertyLoaders
-
Constructor Summary
Constructors Constructor Description PluginLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
addResourceResources()
private void
addTextResources()
void
loadPlugins()
Load the plugins onto the class path and make the resources available.
-
-
-
Field Detail
-
messageSource
@Autowired @Qualifier("messageSource") private org.springframework.context.support.ReloadableResourceBundleMessageSource messageSource
-
resourceReference
@Autowired @Qualifier("resourceReference") private org.springframework.context.support.ReloadableResourceBundleMessageSource resourceReference
-
textPropertyLoaders
@Autowired(required=false) private java.util.List<ITextPropertyLoader> textPropertyLoaders
-
resourcePropertyLoaders
@Autowired(required=false) private java.util.List<IResourcePropertyLoader> resourcePropertyLoaders
-
-