public class PluginRuntime extends Object implements Serializable
Constructor and Description |
---|
PluginRuntime(Class<T> clazz,
String scopeKey,
String runtimeKey) |
PluginRuntime(org.reflections.Reflections reflect,
String runtimeName,
String scopeKey,
String runtimeKey) |
Modifier and Type | Method and Description |
---|---|
<T extends IFCPlugin> |
addPlugin(T plugin) |
void |
delete()
Deprecated.
|
Set<IFCPlugin> |
getAllPlugins() |
ClassLoader[] |
getClassLoaders() |
String |
getFutureScopeKey()
Deprecated.
use
getScopeKey() |
File |
getJarFile() |
PluginManifest |
getManifest() |
String |
getName() |
<T extends IFCPlugin> |
getPluginsOfType(Class<T> clazz)
Returns a set of
IFCPlugin of the given class |
org.apache.commons.configuration.PropertiesConfiguration |
getProperties()
Getter für die Plugin-Properties
|
Map<String,IBundleConfigParam> |
getPropertiesConfiguration(Locale locale)
Liefert die, durch den Entwickler festgelegten, Bundle-Property Namen, deren Werte durch den Bundle-Benutzer
definiert werden müssen.
|
org.reflections.Reflections |
getReflections() |
String |
getRuntimeKey() |
String |
getScopeKey() |
boolean |
hasPersitedData() |
boolean |
isSystemManaged() |
void |
saveProperties(Properties props)
Methode zum Speichern der Properties eines Mandanten-Plugins
|
void |
setPropertyConfiguration(List<IBundleProperties> propertyConfiguration) |
void |
shutdown()
Deprecated.
use
PluginManager#uninstallPlugin(PluginRuntime) |
public String getScopeKey()
public String getRuntimeKey()
public ClassLoader[] getClassLoaders()
public boolean isSystemManaged()
public File getJarFile()
public org.reflections.Reflections getReflections()
public String getName()
public <T extends IFCPlugin> void addPlugin(T plugin)
public <T extends IFCPlugin> Set<T> getPluginsOfType(Class<T> clazz)
IFCPlugin
of the given classpluginType
- public org.apache.commons.configuration.PropertiesConfiguration getProperties()
Properties
die Plugin-Propertiespublic void saveProperties(Properties props) throws IOException
props
- Properties
IOException
public PluginManifest getManifest()
public Map<String,IBundleConfigParam> getPropertiesConfiguration(Locale locale)
public void setPropertyConfiguration(List<IBundleProperties> propertyConfiguration)
public boolean hasPersitedData()
@Deprecated public void shutdown() throws IOException
PluginManager#uninstallPlugin(PluginRuntime)
IOException
@Deprecated public String getFutureScopeKey()
getScopeKey()
@Deprecated public void delete() throws IOException
PluginManager.deletePlugin(PluginRuntime)
IOException
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.