You cannot post messages because only members can post, and you are not currently a member.
Description:
In which we discuss the Google Guice Open Source project.
|
|
|
ServletModule and @MultipartConfig
|
| |
Hi all! I use @MultiPartConfig annotation from Servlet 3 API in my code for file uploading. It is very comfortably. But when I start to migrate to Guice ServletModule this not work. There is no data in request.getParameterMap() nor getParts(). And I don't know how to add servlet params from docs<[link]> to... more »
|
|
how to use TypeListener, and what's TypeLiteral,TypeEncounter stand for.
|
| |
Hi guys, I'm new to Guice, and I want to apply guice in my future project. so I must be a master of it. there're some spi interface and class can be used to extend. when I consult *com.google.inject.spi.TypeLis tener*, I can't understood when I can use this type. the interface has one method *<I> void hear(TypeLiteral<I> type, TypeEncounter<I> encounter);*... more »
|
|
ANN: Governator 1.2.2
|
| |
* Issue 59: Add support for multi binding via AutoBindSingleton. * Previous fix for memory leak (Issue 60) is improved in 1.2.2. Only record dependencies for objects that have @WarmUp methods. Also, use a weak valued Guava cache internally.
|
|
How to resolve bindings for unknown more specific parameterized types
|
| |
If the subject may be distrurbing, some code may help understand what I am trying to do. The words explanation: Let's take a basic example of using Collection's of Fruit. I have an interface "Fruit" which is implemented by "Apple" and "Pear". Additionally, we have the usual parameterized "Collection<E>" which is sub-classes... more »
|
|
Guice and Resteasy
|
| |
Resteasy 3.0 (JBoss's JAX-RS implementation) is coming out soon. I just
wanted to let people know that I and a few others have been giving its
Guice integration some much-needed attention and new features for the first
time in years.
Some of the interesting new features:
- Guice 3.0 (believe it or not)... more »
|
|
Annotation based binding
|
| |
I have an interface public interface Foo { ...i have many implementations of it ...let us generically denote Bar1, Bar2 as BarX, the constructors for BarX all have similar structure (the types and their order are the same) i have an annotation @AppliesTo for each of the BarX classes @AppliesToType (type = TypeX)... more »
|
|
GuiceFilter PersistFilter in web application
|
| |
Hi, I am using Guice + JPA+ Hibernate for web application running within Jboss. 1. per [link] I did the following to register PersistFilter in my service module, which extends from ServletModule install(new JpaPersistModule(PERSITENCE_UN IT_NAME));... more »
|
|
How's HEAD working out for everyone?
|
| |
Just curious: have folks experimented with the latest code that Christian
synced to the trunk the other day? How's it working out for ya'll?
sam
|
|
Best practices for writing adapter using Guice
|
| |
Hey everyone, I'm trying to figure out a good way of writing an adapters using Guice, The objective of my adapters is to adapt DataObject to Business Object and the other way around. I'm thinking about making these adapters managed by Guice because some of them might need to access injected classes (Other facades/DAOs)... more »
|
|
|