Singleton Mis-Behaviour

Yes Singleton can cat as a spoil spot. It can do mischief

  • Multiple Singletons in Two or More Virtual Machines
  • Multiple Singletons Simultaneously Loaded by Different Class Loaders
  • Singleton Classes Destroyed by Garbage Collection, then Reloaded
  • Purposely Reloaded Singleton Classes
  • Copies of a Singleton Object that has undergone Serialization and Deserialization

ARCHITECTURES · DESIGN-PATTERNS
architectures design-patterns singletons

You May Also Enjoy

Liskov Substitution Principle

Singleton Mis-Behaviour

Static Class Vs SingleTon Pattern

Singleton Mis-Behaviour

Layer Wise Design Patterns

Singleton Mis-Behaviour

Chain of Responsibilty

Singleton Mis-Behaviour


Dialogue & Discussion