Uses of Class
de.xima.fc.plugin.runtime.PluginRuntime
Packages that use PluginRuntime
Package
Description
-
Uses of PluginRuntime in de.xima.fc.gui.bean.plugin
Methods in de.xima.fc.gui.bean.plugin that return types with arguments of type PluginRuntimeModifier and TypeMethodDescriptionprotected abstract Set<PluginRuntime>BasicPluginBean.getAllPluginRuntimes()protected Set<PluginRuntime>ClientPluginBean.getAllPluginRuntimes()protected Set<PluginRuntime>SystemPluginBean.getAllPluginRuntimes()Methods in de.xima.fc.gui.bean.plugin with parameters of type PluginRuntimeModifier and TypeMethodDescriptionabstract List<PluginDependencies>BasicPluginBean.createPluginDependencies(PluginRuntime runtime) This method creates a list of plugin dependencies.ClientPluginBean.createPluginDependencies(PluginRuntime runtime) SystemPluginBean.createPluginDependencies(PluginRuntime runtime) -
Uses of PluginRuntime in de.xima.fc.gui.model
Methods in de.xima.fc.gui.model that return PluginRuntimeModifier and TypeMethodDescriptionPluginWrapperModel.getPluginRuntime()PluginWrapperModel.getTempRuntime()Methods in de.xima.fc.gui.model with parameters of type PluginRuntimeModifier and TypeMethodDescriptionvoidPluginWrapperModel.setTempRuntime(PluginRuntime tempRuntime) Constructors in de.xima.fc.gui.model with parameters of type PluginRuntimeModifierConstructorDescriptionPluginWrapperModel(Locale locale, PluginRuntime pluginRuntime, IGenericDao<E> dao) Creates a new plugin wrapper for a given plugin runtime and database access object. -
Uses of PluginRuntime in de.xima.fc.plugin
Methods in de.xima.fc.plugin that return PluginRuntimeModifier and TypeMethodDescriptionstatic PluginRuntimePluginManager.getPluginRuntime(String scopeKey, String runtimeKey) static PluginRuntimePluginManager.initClientPlugin(File pluginJar, Mandant man) Deprecated.static PluginRuntimePluginManager.initSystemPlugin(File pluginJar) Deprecated.Methods in de.xima.fc.plugin that return types with arguments of type PluginRuntimeModifier and TypeMethodDescriptionstatic Closable<PluginRuntime>PluginHelper.createTempRuntime(IThrowingSupplier<InputStream> data, String name, String scopeKey, String runtimeKey, boolean instantiate) Creates a temporary runtime that can be used e.g. for validation.static Closable<PluginRuntime>PluginHelper.createTempRuntime(InputStream input, String name, String scopeKey, String runtimeKey, boolean instantiate) Creates a temporary runtime that can be used e.g. for validation.static Closable<PluginRuntime>PluginHelper.createTempRuntime(Path jarFile, String name, String scopeKey, String runtimeKey, boolean instantiate) Creates a temporary runtime that can be used e.g. for validation.static <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>> PluginManager.getAllPluginsWithRuntime(Mandant man, Class<T> clazz) static <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>> PluginManager.getAllPluginsWithRuntime(UUID clientUuid, Class<T> clazz) static Set<PluginRuntime>PluginManager.getClientPlugins(Mandant client) Gets a list of allplugin runtimesregistered to the given client (not including system plugins!)static Set<PluginRuntime>PluginManager.getClientPlugins(UUID clientUuid) Gets a list of allplugin runtimesregistered to the given client (not including system plugins!)static <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>> PluginManager.getClientPluginsWithRuntime(Mandant client, Class<T> clazz) static <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>> PluginManager.getClientPluginsWithRuntime(UUID clientUuid, Class<T> clazz) static List<PluginRuntime>PluginManager.getMandantPlugins(Mandant man) Deprecated.static org.apache.commons.lang3.tuple.Pair<PluginRuntime,IPluginAuthenticatorType> PluginManager.getPluginAuthenticatorTypeWithRuntime(IAuthenticator<?> authenticator) static <T extends IFCPlugin>
org.apache.commons.lang3.tuple.Pair<PluginRuntime,T> PluginManager.getPluginByNameWithRuntime(Mandant man, Class<T> clazz, String pluginName) static Set<PluginRuntime>PluginManager.getSystemPlugins()Get a List of allPluginRuntimes registered in system-scopestatic <T extends IFCPlugin>
Set<org.apache.commons.lang3.tuple.Pair<PluginRuntime,T>> PluginManager.getSystemPluginsWithRuntime(Class<T> clazz) Methods in de.xima.fc.plugin with parameters of type PluginRuntimeModifier and TypeMethodDescriptionstatic <T extends IFCPlugin>
booleanPluginHelper.canPluginBeRegistered(PluginRuntime prtm, Class<T> pluginClass) static byte[]PluginHelper.createDefaultPluginConfig(PluginRuntime runtime) Creates the default plugin configuration data for a given plugin runtime, suitable forIFileEntity.setNewData(byte[]).static voidPluginHelper.createPluginErrorProtocolEntry(PluginRuntime pluginRuntime, DefaultPluginLifecycleData lifecycleData, Throwable error, boolean install, boolean initialize) static voidPluginManager.deletePlugin(PluginRuntime prtm) Deprecated.PluginHelper.getAllPlugins(PluginRuntime pluginRuntime) static FilePluginHelper.getPluginFolder(PluginRuntime runtime) Deprecated.static FilePluginHelper.getPluginJarFile(PluginRuntime rtm) Deprecated.static PluginManifestPluginHelper.getPluginManifest(PluginRuntime pluginRuntime) Reads the manifest from the JAR file of the given plugin runtime.static FilePluginHelper.getPluginMetaFile(PluginRuntime rtm) Deprecated.static de.xima.cmn.props.FileBasedPropertiesConfigurationPluginHelper.getPluginProperties(PluginRuntime rtm) Deprecated.static FilePluginHelper.getPluginPropertiesFile(PluginRuntime rtm) Deprecated.static <M extends IExtendedParameterModel>
List<M>PluginHelper.readParameterModels(PluginRuntime runtime, Locale locale, com.alibaba.fastjson.util.BiFunction<String, String, M> modelFactory) Creates the parameter models for a plugin.static <M extends IExtendedParameterModel>
List<M>PluginHelper.readParameterModels(PluginRuntime runtime, Properties persistedProperties, Locale locale, com.alibaba.fastjson.util.BiFunction<String, String, M> modelFactory) Creates the parameter models for a plugin.static <T extends IFCPlugin>
TPluginHelper.registerPlugin(boolean install, boolean initialize, PluginRuntime prtm, Class<T> clazz) static <T extends IFCPlugin>
voidPluginManager.registerPlugin(boolean isInstall, PluginRuntime prtm, Class<T> clazz) Register a plugin to the given key andPluginRuntimestatic <T extends IFCPlugin>
voidPluginManager.registerPlugin(PluginRuntime prtm, Class<T> clazz) static voidPluginManager.releaseMandantPlugin(Mandant man, PluginRuntime pluginMeta) Deprecated.static voidPluginManager.releasePlugin(boolean isUninstall, PluginRuntime prtm) static voidPluginManager.releasePlugin(PluginRuntime prtm) static voidPluginHelper.savePluginProperties(PluginRuntime rtm, Properties props) Deprecated.static booleanPluginManager.scanAndRegisterMandantPlugin(Mandant man, PluginRuntime pluginMeta, byte[] jarData) Deprecated.static booleanPluginManager.scanAndRegisterSystemPlugin(PluginRuntime pluginMeta, byte[] jarData) Deprecated.PluginHelper.validateConfiguration(PluginRuntime runtime, Locale locale) Validates the configuration of the given plugin bundle against all available validation checks.PluginHelper.validateConfiguration(PluginRuntime runtime, Properties properties, Locale locale) Validates the configuration of the given plugin bundle against all available validation checks, using a specified set of saved plugin properties.PluginHelper.validateConfigurationAgainstValidationCallback(PluginRuntime runtime, Locale locale) Validates the configuration of the given plugin bundle viaIFCPlugin#validateConfigurationData.PluginHelper.validateConfigurationAgainstValidationCallback(PluginRuntime runtime, Properties properties, Locale locale) Validates the configuration of the given plugin bundle viaIFCPlugin#validateConfigurationData. -
Uses of PluginRuntime in de.xima.fc.plugin.entities
Methods in de.xima.fc.plugin.entities that return PluginRuntimeMethods in de.xima.fc.plugin.entities with parameters of type PluginRuntimeModifier and TypeMethodDescriptionstatic EntitiesRuntimeEntitiesRuntimeManager.getRuntime(PluginRuntime runtime) static voidEntitiesRuntimeManager.initRuntime(PluginRuntime pluginRuntime, IPluginEntities plugin) static voidEntitiesRuntimeManager.shutdownRuntime(PluginRuntime pluginRuntime) Constructors in de.xima.fc.plugin.entities with parameters of type PluginRuntimeModifierConstructorDescriptionEntitiesRuntime(PluginRuntime pluginRuntime, IPluginEntities plugin) Creates a new entities runtime with the given plugin. -
Uses of PluginRuntime in de.xima.fc.plugin.helper
Methods in de.xima.fc.plugin.helper with parameters of type PluginRuntimeModifier and TypeMethodDescriptionstatic IPluginFileHelperPluginFileHelper.createFacade(PluginRuntime runtime) Creates a new plugin file helper that delegates to the given runtime.static IPluginResourceHelperPluginResourceHelper.createFacade(PluginRuntime runtime) static voidPluginFileHelper.deletePluginFiles(PluginRuntime prtm) static FilePluginFileHelper.getPluginFolder(PluginRuntime runtime) The path to the folder with all plugin files, such as/tmp/formcycle/system/04ed.static FilePluginFileHelper.getPluginJarFile(PluginRuntime runtime) The path to the JAR file of the plugin, such as/tmp/formcycle/system/04ed/plugin.jar.static FilePluginFileHelper.getPluginJarUnpackedDir(PluginRuntime runtime) The base directory with all files from an unpacked JAR, such as/tmp/formcycle/system/04ed/plugin.static FilePluginFileHelper.getPluginMetaFile(PluginRuntime rtm) static de.xima.cmn.props.FileBasedPropertiesConfigurationPluginPropertiesHelper.getPluginProperties(PluginRuntime rtm) static FilePluginFileHelper.getPluginPropertiesFile(PluginRuntime rtm) static StringPluginResourceHelper.i18n(PluginRuntime runtime, String resourceBundleName, Locale loc, String key) static StringPluginResourceHelper.i18n(PluginRuntime runtime, String resourceBundleName, Locale loc, String key, Object... params) static voidPluginPropertiesHelper.savePluginProperties(PluginRuntime rtm, Properties props) -
Uses of PluginRuntime in de.xima.fc.plugin.lifecycle
Methods in de.xima.fc.plugin.lifecycle with parameters of type PluginRuntimeModifier and TypeMethodDescriptionstatic voidPluginLifecycleEventManager.fireEvent(EPluginLifecycleEvent event, PluginRuntime pluginRuntime, IFCPlugin plugin) Calls all registered events listeners for the given event.voidIPluginLifecycleListener.handleEvent(EPluginLifecycleEvent event, PluginRuntime pluginRuntime, TPlugin plugin) The callback method that is invoked when the event occurred for which this listener was registered.Constructors in de.xima.fc.plugin.lifecycle with parameters of type PluginRuntimeModifierConstructorDescriptionDefaultPluginLifecycleData(PluginRuntime runtime) DefaultPluginValidationData(PluginRuntime runtime, Properties properties, Locale locale) Creates a new plugin validation data instance with the given data. -
Uses of PluginRuntime in de.xima.fc.portal
Methods in de.xima.fc.portal with parameters of type PluginRuntimeModifier and TypeMethodDescriptionstatic PortalRuntimePortalManager.getPortal(PluginRuntime runtime) static voidPortalManager.initPortal(PluginRuntime prtm, IPluginPortal plugin) -
Uses of PluginRuntime in de.xima.fc.portal.runtime
Methods in de.xima.fc.portal.runtime that return PluginRuntimeConstructors in de.xima.fc.portal.runtime with parameters of type PluginRuntimeModifierConstructorDescriptionPortalRuntime(PluginRuntime prtm, IPluginPortal plugin) Creates a new runtime for a given portal plugin. -
Uses of PluginRuntime in de.xima.fc.proma.util
Methods in de.xima.fc.proma.util with parameters of type PluginRuntimeModifier and TypeMethodDescriptionstatic <R> StageChain<org.apache.commons.lang3.tuple.Pair<EPluginUpdateAvailability,String>, R> PromaPluginUpdateCheck.fetchPluginUpdateStatus(IPublicPromaInvocationContext pc, String pluginKey, Locale locale, PluginManifest manifest, PluginRuntime runtime, String licenseKey) This method retrieves the update status of the specified plugin.static <R> StageChain<PluginUpdateMetadata,R> PromaPluginUpdateCheck.getPluginMetadata(IPublicPromaInvocationContext pc, String pluginKey, Locale locale, PluginManifest manifest, PluginRuntime runtime, de.xima.proma.restclient.pub.gen.model.PublicStoreItemResource storeItem, String licenseKey) This method returns a model class for caching the plugin meta data based on the plugin data passed.static <R> StageChain<PluginUpdateMetadata,R> PromaPluginUpdateCheck.getPluginMetadata(IPublicPromaInvocationContext pc, String pluginKey, Locale locale, PluginManifest manifest, PluginRuntime runtime, String licenseKey) This method returns a model class for caching the plugin meta data based on the plugin data passed.
PluginManager.getClientPlugins(Mandant)