Skip to content

Portable Extension's ObserverMethod doesn't expose the declaring Bean #563

@Ladicek

Description

@Ladicek

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 has ObserverMethod.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 add ObserverMethod.getDeclaringBean() (copying the name from Weld's ObserverMethodImpl, which does expose the declaring bean).

Metadata

Metadata

Assignees

Labels

LiteRelated to CDI Litelite-extension-apiIssues related to CDI Lite extension API proposal

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions