Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs - CDI introduction - ApplicationScoped VS Singleton #13513

Merged
merged 1 commit into from Nov 27, 2020

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented Nov 27, 2020

@ghost ghost added the area/documentation label Nov 27, 2020
@famod
Copy link
Member

famod commented Nov 27, 2020

AFAIK, @Singleton beans cannot be intercepted, which I think is worth mentioning, no?

@mkouba
Copy link
Contributor Author

mkouba commented Nov 27, 2020

AFAIK, @Singleton beans cannot be intercepted, which I think is worth mentioning, no?

Wrong, @Singleton beans can be intercepted (and the same applies to @Dependent ;-).

@famod
Copy link
Member

famod commented Nov 27, 2020

Ok, good to know! Is this Quarkus-specific?
IIRC some older Weld versions had that limitation?
Anyway, not relevant for this PR so feel free to ignore me. 😉

@mkouba
Copy link
Contributor Author

mkouba commented Nov 27, 2020

Ok, good to know! Is this Quarkus-specific?

No, it's not.

IIRC some older Weld versions had that limitation?

I'm not aware of that.

Copy link
Member

@machi1990 machi1990 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really useful. Thank you for taking a look @mkouba

@mkouba mkouba merged commit b4be1ad into quarkusio:master Nov 27, 2020
@ghost ghost added this to the 1.11 - master milestone Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants