Enable to lookup Events programmatically.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 240
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
Currently there are 2 API to lookup events programmatically from the bean manager - I ignore the derivative like Instance:
1. bm.getEvent().select(...)
2. bm.getReference())
I can envision 2 is not an option (even if it should be implementable) since there is 1 but 1 is not enabled because it only support Class or TypeLiteral which are two static types so Type should be added to event#select to enable this use case.
There is no blocker in main implementations AFAIK so can be a quick win for everyone.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Event.select(...) API and the BeanManager lookup methods described in the issue, focusing on the existing Class and TypeLiteral signatures. Determine how a Type-based lookup should fit the CDI API and specification. Done means the programmatic event lookup use case is supported without relying on the derivative Instance API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100