|
Smalltalk/X WebserverDocumentation of class 'Singleton': |
|
|
Class: SingletonInheritance:Object | +--Singleton | +--Dolphin::DeafObject | +--WatchDogInterface
Description:
Subclasses of Singleton have only a single instance.
The instance creation methods ensure that there is only one instance.
Singletons that would have inherited from Object could inherit from
Singleton. For Singletons that do not inherit from Object,
you have to copy the Singleton's code to your class.
[class instance variables:]
theOnlyInstance Object The only instance of this class
[class variables:]
Lock RecursionLock A global lock to protect agains races during instance creation
Class protocol:accessing
|
|
|
ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 17 Dec 2025 06:35:26 GMT
|