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() |
long |
getInstanciationTime() |
File |
getJarFile() |
PluginManifest |
getManifest() |
String |
getName() |
<T extends IFCPlugin> |
getPluginsOfType(Class<T> clazz) |
org.apache.commons.configuration.PropertiesConfiguration |
getProperties()
Getter für die Plugin-Properties
|
Map<String,IBundleConfigParam> |
getPropertiesConfiguration(Locale locale)
Returns a map with definitions of bundle configuration parameters.
|
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.
|
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 org.apache.commons.configuration.PropertiesConfiguration getProperties()
Properties
die Plugin-Propertiespublic void saveProperties(Properties props) throws IOException
props
- Properties
IOException
- on errors while savingpublic PluginManifest getManifest()
public Map<String,IBundleConfigParam> getPropertiesConfiguration(Locale locale)
IBundleConfigParam
that specifies which parameters are available.locale
- The locale for the current language.Map
with objects of type IBundleConfigParam.public void setPropertyConfiguration(List<IBundleProperties> propertyConfiguration)
public boolean hasPersitedData()
public long getInstanciationTime()
@Deprecated public void shutdown() throws IOException
PluginManager.uninstallPlugin(String, String)
IOException
- on errors while shutdown@Deprecated public String getFutureScopeKey()
getScopeKey()
@Deprecated public void delete() throws IOException
PluginManager.deletePlugin(PluginRuntime)
IOException
- on errors while deletionCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.