TypeManager

Overview

The general purpose of this class is to provide a facility to create an instance of the class with a given class name.This class is used as a singleton, i.e. only one instance of it should exist during the application life time. This class is intended to be used internally and no explicit user operations should be necessary.

Location


 

constructor <clinit>  External

 

class method constructor <clinit>(+)

 

static void constructor <clinit>(+ )

Parameters:

  • :

createEventInstance

 

method createEventInstance(aName: String; aStream: Message): Object

 

Object createEventInstance(String aName, Message aStream)

Parameters:

  • aName:
  • aStream:

createExceptionInstance

 

method createExceptionInstance(aName: String; aStream: String; aServer: Boolean): Object

 

Object createExceptionInstance(String aName, String aStream, Boolean aServer)

Parameters:

  • aName:
  • aStream:
  • aServer:

createInstance (Class, Class[], Object[]): Object

 

method createInstance(aClass: Class; anArgsType: array of Class; anArgsValue: array of Object): Object

 

Object createInstance(Class aClass, Class[] anArgsType, Object[] anArgsValue)

Parameters:

  • aClass:
  • anArgsType:
  • anArgsValue:

createInstance (String): Object

 

method createInstance(aName: String): Object

 

Object createInstance(String aName)

Parameters:

  • aName:

creator

 

method creator(aName: String): Class

 

Class creator(String aName)

Parameters:

  • aName:

Instance

 

class property Instance: TypeManager read;

 

class TypeManager Instance { __get; }

registerClass

 

method registerClass(aName: String; aClass: Class)

 

void registerClass(String aName, Class aClass)

Parameters:

  • aName:
  • aClass:

registerClassWithActivator

 

method registerClassWithActivator(aName: String; aClass: Class; anActivator: TypeActivator)

 

void registerClassWithActivator(String aName, Class aClass, TypeActivator anActivator)

Parameters:

  • aName:
  • aClass:
  • anActivator:

setPackage

 

class method setPackage(aPackage: String)

 

static void setPackage(String aPackage)

Parameters:

  • aPackage:

UseCache

 

property UseCache: Boolean read write;

 

Boolean UseCache { __get; __set; }

 

UseCache

 

property UseCache: Boolean read write;

 

Boolean UseCache { __get; __set; }

Instance

 

class property Instance: TypeManager read;

 

class TypeManager Instance { __get; }

 

constructor <clinit>  External

 

class method constructor <clinit>(+)

 

static void constructor <clinit>(+ )

Parameters:

  • :

setPackage

 

class method setPackage(aPackage: String)

 

static void setPackage(String aPackage)

Parameters:

  • aPackage:

 

createEventInstance

 

method createEventInstance(aName: String; aStream: Message): Object

 

Object createEventInstance(String aName, Message aStream)

Parameters:

  • aName:
  • aStream:

createExceptionInstance

 

method createExceptionInstance(aName: String; aStream: String; aServer: Boolean): Object

 

Object createExceptionInstance(String aName, String aStream, Boolean aServer)

Parameters:

  • aName:
  • aStream:
  • aServer:

createInstance (Class, Class[], Object[]): Object

 

method createInstance(aClass: Class; anArgsType: array of Class; anArgsValue: array of Object): Object

 

Object createInstance(Class aClass, Class[] anArgsType, Object[] anArgsValue)

Parameters:

  • aClass:
  • anArgsType:
  • anArgsValue:

createInstance (String): Object

 

method createInstance(aName: String): Object

 

Object createInstance(String aName)

Parameters:

  • aName:

creator

 

method creator(aName: String): Class

 

Class creator(String aName)

Parameters:

  • aName:

registerClass

 

method registerClass(aName: String; aClass: Class)

 

void registerClass(String aName, Class aClass)

Parameters:

  • aName:
  • aClass:

registerClassWithActivator

 

method registerClassWithActivator(aName: String; aClass: Class; anActivator: TypeActivator)

 

void registerClassWithActivator(String aName, Class aClass, TypeActivator anActivator)

Parameters:

  • aName:
  • aClass:
  • anActivator: