Portable Extension's ObserverMethod
doesn't expose the declaring Bean
#563
Labels
ObserverMethod
doesn't expose the declaring Bean
#563
The Build Compatible Extension API has a method
ObserverInfo.bean()
that provides access to the bean that declares given observer. The Portable Extension API only hasObserverMethod.getBeanClass()
(providing access to the class that declares given observer).To keep BCExtensions a strict subset of PExtensions, either we have to remove
ObserverInfo.bean()
, or addObserverMethod.getDeclaringBean()
(copying the name from Weld'sObserverMethodImpl
, which does expose the declaring bean).The text was updated successfully, but these errors were encountered: