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



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
+ dispose () /* Destroy/Shutdown/Anti-Initializer */
Inherited from Ccs.Common.IService
+ initialize () /* Initializer/Startup */
Inherited from Ccs.Common.IService


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
Top

PUBLIC dispose ()

Inherited from Ccs.Common.IService
/* Destroy/Shutdown/Anti-Initializer

Top

PUBLIC initialize ()

Inherited from Ccs.Common.IService
/* Initializer/Startup



©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:26:55