public class PluginManager extends Object
Constructor and Description |
---|
PluginManager() |
Modifier and Type | Method and Description |
---|---|
void |
afterInitialization()
Method should be called, after ALL plugins have been loaded
This comes handy, when you need to initialize something depending on other plugins. |
static PluginManager |
getInstance() |
<T extends IMediaProvider> |
getPluginsForInterface(Class<T> iface)
get all plugins for the desired interface
|
void |
loadClasspathPlugins()
loads plugins from classpath - needed for in-IDE development
|
public static PluginManager getInstance()
public void loadClasspathPlugins()
public void afterInitialization()
public <T extends IMediaProvider> List<T> getPluginsForInterface(Class<T> iface)
iface
- the interface to search for pluginsCopyright © 2012–2019 tinyMediaManager. All rights reserved.