Kbase P135058: Is it possible to prevent destruction of a Singleton object?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  27/01/2011 |
|
Status: Verified
GOAL:
Is it possible to prevent destruction of a Singleton object?
GOAL:
Is it possible to prevent the destruction of a class with a static member?
GOAL:
Is it possible to have a PRIVATE DESTRUCTOR?
GOAL:
Is it possible to have a PROTECTED DESTRUCTOR?
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.2x
OpenEdge Category: Language (4GL/ABL)
FIX:
No. You cannot prevent destruction of a singleton object in the ABL from within the object. This must be done as a policy rather than through code.