O'Reilly logo

Object-Oriented Design with ABAP: A Practical Approach by James E. McDonough

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© James E. McDonough 2017

James E. McDonough, Object-Oriented Design with ABAP, 10.1007/978-1-4842-2838-8_11

11. Singleton Design Pattern

James E. McDonough

(1)Pennington, New Jersey, USA

The first stop on our voyage through the Design Patterns galaxy takes us to the Singleton design pattern, one of the design patterns found in the GoF catalog. We will find this design pattern useful when we need to guarantee that there is only a single instance of a class available during execution.

We may have multiple instances of a class, with each instance having its own unique attribute values. However, there are some classes that are intended to have one and only one instance per program execution. Some examples are the following devices through which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required