java.lang.Object
org.tentackle.fx.rdc.DefaultGuiProviderFactory
- All Implemented Interfaces:
GuiProviderFactory
@Service(GuiProviderFactory.class)
public class DefaultGuiProviderFactory
extends Object
implements GuiProviderFactory
The default GUI provider factory.
- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends PersistentDomainObject<T>>
GuiProvider<T>createGuiProvider(T pdo) Creates a service object that provides methods related to the rdc gui.
-
Constructor Details
-
DefaultGuiProviderFactory
public DefaultGuiProviderFactory()Creates the factory.
-
-
Method Details
-
createGuiProvider
Description copied from interface:GuiProviderFactoryCreates a service object that provides methods related to the rdc gui.Throws a
PdoRuntimeExceptionif provider could not be created.- Specified by:
createGuiProviderin interfaceGuiProviderFactory- Type Parameters:
T- the PDO's class- Parameters:
pdo- the PDO- Returns:
- the GUI provider, never null
-