Chain Of Responsibility Pattern In Java