using annotation to automatically add call in container configuration from generator