TypeActivator

Overview

This class is abstract. Its descendants are used together with the TypeManager to create complex types instances.

Location


Instance Methods


constructor  protected

Creates activator instance.

 

constructor

 

TypeActivator()

CreateExceptionInstance

Creates but doesn't throw an exception with the given exception class name and text message.

 

method CreateExceptionInstance(aMessage: String; aFromServer: Boolean): ExceptionType

 

ExceptionType CreateExceptionInstance(String aMessage, Boolean aFromServer)

Parameters:

  • aMessage: Given text error.
  • aFromServer: Given boolean flag.

CreateInstance

Creates in instance of the registered class with the given name. The instance will be created directly or by the type activator specified when the class was registered.

 

method CreateInstance: Object

 

Object CreateInstance()