Add JEE (jakarta.inject) support to Guice by hgschmie · Pull Request #1630 · google/guice (original) (raw)

added 2 commits

May 17, 2022 10:43

@hgschmie

@hgschmie

Support for

These injections are functional equivalent to the javax.inject counterparts.

@hgschmie

Adds support for jakarta providers. These can be used interchangeably with their native and javax.inject counterparts.

@hgschmie

This is a straight port from the guice-servlet code to support the new jakarta servlet API classes (jakarta.*).

@hgschmie

@hgschmie hgschmie marked this pull request as ready for review

May 28, 2022 18:02

@sameb sameb mentioned this pull request

Apr 25, 2023

copybara-service Bot pushed a commit that referenced this pull request

Apr 26, 2023

@sameb

…rt for toProvider(...) to instances of jakarta.inject.Provider or classes/keys/typeLiterals of type jakarta.inject.Provider. See #1383 (comment) for details of the plans. The Guice 6.0 release will support javax.inject and jakarta.inject (excluding toProvider() support for jakarta.inject), and the Guice 7.0+ release will remove the javax.inject references.

Further background on these issues:

PiperOrigin-RevId: 526763665

copybara-service Bot pushed a commit that referenced this pull request

Apr 26, 2023

@sameb

This does not add support for toProvider(...) to instances of jakarta.inject.Provider or classes/keys/typeLiterals of type jakarta.inject.Provider. See #1383 (comment) for details of the plans. The Guice 6.0 release will support javax.inject and jakarta.inject (excluding toProvider() support for jakarta.inject), and the Guice 7.0+ release will remove the javax.inject references.

Further background on these issues:

PiperOrigin-RevId: 526763665

copybara-service Bot pushed a commit that referenced this pull request

Apr 26, 2023

@sameb

This does not add support for toProvider(...) to instances of jakarta.inject.Provider or classes/keys/typeLiterals of type jakarta.inject.Provider. See #1383 (comment) for details of the plans. The Guice 6.0 release will support javax.inject and jakarta.inject (excluding toProvider() support for jakarta.inject), and the Guice 7.0+ release will remove the javax.inject references.

Further background on these issues:

PiperOrigin-RevId: 526763665

copybara-service Bot pushed a commit that referenced this pull request

Apr 26, 2023

@sameb

This does not add support for toProvider(...) to instances of jakarta.inject.Provider or classes/keys/typeLiterals of type jakarta.inject.Provider. See #1383 (comment) for details of the plans. The Guice 6.0 release will support javax.inject and jakarta.inject (excluding toProvider() support for jakarta.inject), and the Guice 7.0+ release will remove the javax.inject references.

Further background on these issues:

PiperOrigin-RevId: 526763665

copybara-service Bot pushed a commit that referenced this pull request

Apr 26, 2023

@sameb

This does not add support for toProvider(...) to instances of jakarta.inject.Provider or classes/keys/typeLiterals of type jakarta.inject.Provider. See #1383 (comment) for details of the plans. The Guice 6.0 release will support javax.inject and jakarta.inject (excluding toProvider() support for jakarta.inject), and the Guice 7.0+ release will remove the javax.inject references.

Further background on these issues:

PiperOrigin-RevId: 526763665

copybara-service Bot pushed a commit that referenced this pull request

Apr 26, 2023

@sameb

This does not add support for toProvider(...) to instances of jakarta.inject.Provider or classes/keys/typeLiterals of type jakarta.inject.Provider. See #1383 (comment) for details of the plans. The Guice 6.0 release will support javax.inject and jakarta.inject (excluding toProvider() support for jakarta.inject), and the Guice 7.0+ release will remove the javax.inject references.

Further background on these issues:

PiperOrigin-RevId: 527349023

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})