Hi,
I'd like to know the stage (PRODUCTION, DEVELOPMENT) that my injector
is in.
I basically want to do something like this
boolean indentXml = Injector.CURRENT_STAGE != PRODUCTION
bind(Boolean.class).annotatedWith(Names.named("xml.indent")).toInstance
(indentXml);
So that my XmlParser does not pretty print my xml in production (this
is known to speed things up a little)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---