Inplement singleton pattern in AbstractProcessor