The Spring lookup method lets you have a method that returns a new instance of an object every time you call it. I read the Guice user guide and didn't see an obvious way of how to do this. I'd like to have some code like this:
@Inject
private FooInstanceFactory fooInstanceFactory;
//...
Foo foo = fooInstanceFactory.getNewInstanceOfFoo();
//...