Just bind(@Inject @Symbol("some.identifier") String someSymbol)
I think. This initiates the construction of symbolsource, which in turn calls the contribute in your appmodule which initiates the construction of the PropertiesFileSymbolProvider which reads the file. And btw, I would recommend http://www.nabble.com/Tapestry-f302.html to read the post lists. You see both developer and user forums from that link, but can filter either one by choosing the appropriate one from the top of the page. (Child Forums) Edouard sur edouardmercier.fr wrote: > > Thank you for this very quick and clear answer! > > Does it mean that I will be able to inject the > "PropertiesFileSymbolProvider" object inside the > "AppModule::bind(ServiceBinder binder, > @InjectService("PropertiesFileSymbolProvider") SymbolProvider > propertiesFileSymbolProvider)" method this way? Or should I declare a > "@Inject @Symbol(value="MyParam") private String myParam;" (should be > static) inside my AppModule (after having declared the properties > symbol provider via the "public PropertiesFileSymbolProvider > buildPropertiesFileSymbolProvider(Logger logger)" and "public static > void contributeSymbolSource(OrderedConfiguration<SymbolProvider> > configuration, ..." methods)? > > Because I need to access the property before the service is created, > since it's implementation should depend on some property. > > Thank you. > Édouard > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Access-the-ApplicationGlobals-inside-the-%22AppModule%3A%3Abind%28%29%22-method-tp19853806p19854609.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]