Domanda di colloquio di Guidewire

How would you implement a singleton pattern?