Namespace: Consultingwerk.Framework
Interface 
IFactoryRegistry Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.Framework.Factory

File:IFactoryRegistry
Purpose:Interface for Services supporting the IFactory with registering
factory types
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Mar 24 10:38:59 CET 2018
Purpose: Returns if the given factory is registered
Notes:



Top Method Summary
Options Name Purpose
+ LOGICAL HasFactory (Class) Returns if the given factory is registered
+ LOGICAL HasFactory (Class, character) Returns if the given factory is registered
+ LoadFromFile (character) Registers object factories from the given file
+ RegisterFactory (Class, character, Class) Registers an object factory type
+ RegisterFactory (Class, Class) Registers an object factory type
+ UnregisterFactory (Class) Registers an object factory type
+ UnregisterFactory (Class, character) Registers an object factory type


Method Detail
Top

PUBLIC LOGICAL HasFactory (Class)

Purpose: Returns if the given factory is registered
Notes:

Parameters:
poType Progress.Lang.Class
The type of evaluate
Returns LOGICAL
Logical value indicating if the factory for the given type is registered
Top

PUBLIC LOGICAL HasFactory (Class, character)

Purpose: Returns if the given factory is registered
Notes:

Parameters:
poType Progress.Lang.Class
The type of evaluate
pcAlias CHARACTER
The type alias
Returns LOGICAL
Logical value indicating if the factory for the given type is registered
Top

PUBLIC LoadFromFile (character)

Purpose: Registers object factories from the given file
Notes:

Parameters:
pcFileName CHARACTER
The file naem to load factories from
Top

PUBLIC RegisterFactory (Class, character, Class)

Purpose: Registers an object factory type
Notes:

Parameters:
poType Progress.Lang.Class
The type to register
pcAlias CHARACTER
The type alias
poImplementation Progress.Lang.Class
The implementation of the type
Top

PUBLIC RegisterFactory (Class, Class)

Purpose: Registers an object factory type
Notes:

Parameters:
poType Progress.Lang.Class
The type to register
poImplementation Progress.Lang.Class
The implementation of the type
Top

PUBLIC UnregisterFactory (Class)

Purpose: Registers an object factory type
Notes:

Parameters:
poType Progress.Lang.Class
The type to register
Top

PUBLIC UnregisterFactory (Class, character)

Purpose: Registers an object factory type
Notes:

Parameters:
poType Progress.Lang.Class
The type to register
pcAlias CHARACTER
The type alias


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       27.03.2024 00:27:39