Namespace: Consultingwerk.Framework
Interface 
IFactory Copy to Clipboard
Parent classes:
Inherits: Ccs.Common.IService
Implemented by: Consultingwerk.Framework.Factory

File:IFactory
Purpose:Generic Interface for Factory services
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Mar 24 09:01:07 CET 2018
Purpose: Creates an object instance
Notes: Factory method for object instances referenced by the provided
type (typically an interface)



Top Method Summary
Options Name Purpose
+ Progress.Lang.Object CreateInstance (Class) Creates an object instance
+ Progress.Lang.Object CreateInstance (Class, character) Creates an object instance
+ Progress.Lang.Object CreateInstance (Class, character, Object[]) Creates an object instance
+ Progress.Lang.Object CreateInstance (Class, Object[]) Creates an object instance


Method Detail
Top

PUBLIC Progress.Lang.Object CreateInstance (Class)

Purpose: Creates an object instance
Notes: Factory method for object instances referenced by the provided
type (typically an interface)

Parameters:
poType Progress.Lang.Class
The type to create an instance of
Returns Progress.Lang.Object
The created object instance
Top

PUBLIC Progress.Lang.Object CreateInstance (Class, character)

Purpose: Creates an object instance
Notes: Factory method for object instances referenced by the provided
type (typically an interface)

Parameters:
poType Progress.Lang.Class
The type to create an instance of
pcAlias CHARACTER
The alias of the object
Returns Progress.Lang.Object
The created object instance
Top

PUBLIC Progress.Lang.Object CreateInstance (Class, character, Object[])

Purpose: Creates an object instance
Notes: Factory method for object instances referenced by the provided
type (typically an interface)

Parameters:
poType Progress.Lang.Class
The type to create an instance of
pcAlias CHARACTER
The alias of the object
poParameters Progress.Lang.Object
An array of parameters to pass to the object's constructor, Holder types will be passed as their Value to the constructor
Returns Progress.Lang.Object
The created object instance
Top

PUBLIC Progress.Lang.Object CreateInstance (Class, Object[])

Purpose: Creates an object instance
Notes: Factory method for object instances referenced by the provided
type (typically an interface)

Parameters:
poType Progress.Lang.Class
The type to create an instance of
poParameters Progress.Lang.Object
An array of parameters to pass to the object's constructor, Holder types will be passed as their Value to the constructor
Returns Progress.Lang.Object
The created object instance


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:05