equivalent of PathMatchingResourcePatternResolver for guice

42 views
Skip to first unread message

B. K. Oxley (binkley)

unread,
Oct 16, 2009, 10:13:44 AM10/16/09
to google-guice
There are so many nice things in Guice, one hardly knows where to
start! (But I do know. :)

One thing I miss from Spring framework, however, is
PathMatchingResourcePatternResolver -- the ability to find properties
files, etc., with genericy-looking expressions such as "classpath*:com/
myco/myproj/fooby.properties", etc.

What is the equivalent for Guice of Spring's resource-handling
support? If there is nothing yet, is that in the works for a future
release? Or am I looking at this from the wrong angle in the first
place?

Cheers,
--binkley

Max Bowsher

unread,
Oct 16, 2009, 1:42:42 PM10/16/09
to google...@googlegroups.com


I think you're looking at it from the wrong angle:

* Spring is an immense toolbox running from huge quantities of
general-purpose utility code, through IoC, to complex JDBC and
ORM wrapping, and more.

* Guice is an IoC framework.


If you miss Spring's mixed bag of arbitrary utility classes, you should
be able to use the spring-core jar in your application, even without
bringing in any of Spring's IoC stuff.

Max.

signature.asc
Reply all
Reply to author
Forward
0 new messages