javaee / javaee-spec

Java EE Platform Specification
https://javaee.github.io/javaee-spec
Other
389 stars 69 forks source link

UserTransaction, SessionContext, TimerService and anything injectable via @Resource to inject with @Inject #14

Open glassfishrobot opened 13 years ago

glassfishrobot commented 13 years ago

All "default" resources (like UserTransaction, SessionContext), injectable with @Resource in Java EE 6 should be also injectable with @Inject as well.

glassfishrobot commented 13 years ago

Reported by abien

glassfishrobot commented 12 years ago

mvatkina said: Support for @Inject should be defined at platform level.

glassfishrobot commented 12 years ago

@bshannon said: We've had discussions about providing "default producers" for all Java EE injectable resources, but it's more difficult than originally expected to make this work right. It's still an interesting idea that we hope to explore more in the future.

glassfishrobot commented 12 years ago

agoncal said: Being able to @Inject ServletContext and WebServiceContext (JAX-WS) would be awsome too

glassfishrobot commented 11 years ago

ldemichiel said: Agree. We expect to re-open this discussion in Java EE 8.

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAVAEE_SPEC-14