Back: Association-testing
Up: Class reference
Forward: Autoload class-instance creation
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.6 Autoload

Defined in namespace Smalltalk
Category: Examples-Useful tools
I am not a part of the normal Smalltalk kernel class system. I provide the ability to do late-loading or "on demand loading" of class definitions. Through me, you can define any class to be loaded when any message is sent to the class itself (such as to create an instance).

6.6.1 Autoload class: instance creation  (class)
6.6.2 Autoload: accessing  (instance)


6.6.1 Autoload class: instance creation

class: classNameString from: fileNameString
Make Smalltalk automatically load the class named classNameString from fileNameString when needed


6.6.2 Autoload: accessing

doesNotUnderstand: aMessage
Load the file, then reinvoke the method forwarding it to the newly loaded class.




This document was generated on May, 12 2002 using texi2html