guice
How to do eager initialization of singleton in a separate thread?
I would like to do eager initialization of multiple singletons but开发者_开发问答 the initialization can take on the order of minutes so I would like the initialization to happen on a separate thread.[详细]
2023-04-13 03:31 分类:问答Google Guice and Jersey - JAXB can't handle interfaces Error
I\'m using Google Guice with Jersey (jax-rs). Following method throws an JAXB-Exception (JAXB can\'t handle interfaces) if I calling it:[详细]
2023-04-12 00:28 分类:问答Unit testing Jersey Resources with Guice injected fields
I have a Jersey Resource that I want to test with JUnit. The resource uses Guice Providers to inject certain fields:[详细]
2023-04-11 14:57 分类:问答guice: runtime injection/binding at command line
I have the following problem: @Inject MyClass(Service service) { this.service = service; } public void doSomething() {[详细]
2023-04-11 12:46 分类:问答Routing request to matching pages using guice servlets
I am developing inherited jsp/java ee application and I would like to introduce Guice IoC container to my application. However, I found some obstacles. I can\'t translate web.xml entries into guice re[详细]
2023-04-11 11:09 分类:问答Using Guice 3 with JAX-WS in Java 6 outside web container
We have a situation where we use JSR-330 based injections to configure our stand-alone Java 6 applications, which works very well for getting configuration parameters across all the layers.[详细]
2023-04-11 05:10 分类:问答Module Initialization And Destruction handlers in Guice?
The following link describes how to handle module initialization and destruction in Guice using a Service interface with a start() and stop() method:[详细]
2023-04-10 11:57 分类:问答Guice runtime dependency parameters reinjection
A question about Guice. I\'m still learning it, but I can understand the fundamentals. This question was already asked a couple of times on the net, but never with a concrete answer(none that I could[详细]
2023-04-10 03:37 分类:问答Combine two maven based projects on two frameworks
I have two maven projects say MvnSpring and MvnGuice.MvnSpring is working on spring and hibernate frame works.[详细]
2023-04-09 20:20 分类:问答Where do I get the jersey-guice package?
I would like to use Jersey and Guice together and I have found this tutorial, and a reference to jersey-juice here.[详细]
2023-04-09 18:13 分类:问答