Skip to Content
0
Former Member
Mar 03, 2009 at 08:37 PM

Singleton pattern with inheritance

671 Views

Hello all,

I tried to design a class using the singleton pattern in ABAP Objects (with lazy creation). The class itself works fine - however, I struggle to create a subclass of my singleton since ABAP Object does not allow me to redefine static methods.

Does anyone know a solution in ABAP Objects to use the singleton pattern together with inheritance?

Thanks in advance for any ideas!

Best regards

David