Question 7:
Given the code fragment:
Which code can be added to register both of these methods to receive BankEvent notifications only if an instance of BankActivityService is already instantiated in the current context?
Answer options:
A. @Observes(notifyObserver=IF_EXISTS) on line 3 and line 6 B. @Observes(during=IN_PROGRESS) on line 1 C. @Observes(during=AFTER_COMPLETION) on line 1 D. @Observes(notifyObserver=IF_EXISTS) on line 4 and line 7 before method parameter declaration