Class PromptServicePluginLocator
java.lang.Object
de.xima.fc.prompt.mgmt.gui.model.PromptServicePluginLocator
- All Implemented Interfaces:
IBeanProvidingPluginLocator<String, IPluginPromptService>, Serializable
@ApplicationScoped
public class PromptServicePluginLocator
extends Object
implements IBeanProvidingPluginLocator<String, IPluginPromptService>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfindPlugin(Mandant tenant, String type) Finds the plugin that provides the UI and the bean for the given key.
-
Constructor Details
-
PromptServicePluginLocator
-
PromptServicePluginLocator
public PromptServicePluginLocator()
-
-
Method Details
-
findPlugin
Description copied from interface:IBeanProvidingPluginLocatorFinds the plugin that provides the UI and the bean for the given key. When the UI is from a built-in, this method should return null.- Specified by:
findPluginin interfaceIBeanProvidingPluginLocator<String, IPluginPromptService>- Parameters:
tenant- The currentclientscope, or null if no client is available. When given, plugins from that client scope should be included. When not given, only system scoped should be considered.type- The key used to identify which bean to retrieve, e.g. a workflow node handler's type.- Returns:
- The plugin that provides the bean for the given key, or null if it comes from a built-in.
-