- 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 Constructor Description DefaultGuiProviderFactory()Creates the factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends PersistentDomainObject<T>>
GuiProvider<T>createGuiProvider(T pdo)Creates a service object that provides methods related to the rdc gui.
-
-
-
Method Detail
-
createGuiProvider
public <T extends PersistentDomainObject<T>> GuiProvider<T> createGuiProvider(T pdo)
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
-
-