Tag - singleton pattern in java