Interface IPluginBeanHelperInstantiator<Plugin extends IFCPlugin, PluginBean extends IPluginGenericCustomGUIBean>
- Type Parameters:
Plugin- The interface type of the plugin that provides the beans, must implementIFCPlugin.PluginBean- The interface type of the plugin bean that all beans from plugins must implement, must implement
- All Superinterfaces:
Serializable
public interface IPluginBeanHelperInstantiator<Plugin extends IFCPlugin, PluginBean extends IPluginGenericCustomGUIBean>
extends Serializable
Used by
GuiBeanCache. Instantiator that creates a new PluginBeanHelper for a given plugin.- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionnewPluginBeanHelper(Mandant client, Plugin plugin) Creates a newPluginBeanHelperfor the given plugin and client.
-
Method Details
-
newPluginBeanHelper
PluginBeanHelper<PluginBean, Plugin> newPluginBeanHelper(Mandant client, Plugin plugin) throws Exception Creates a newPluginBeanHelperfor the given plugin and client.- Parameters:
client- The currentMandantfor which the plugin bean helper should be created.plugin- The plugin for which the bean helper should be created.- Returns:
- A new
PluginBeanHelperfor the given plugin and client. - Throws:
Exception- If an error occurs while creating the bean helper.
-