Not when you are using Names.bindProperties.
What you could do is bind custom provider methods for the different config parameters. This provider methods are then under your control and you can cache/reload the value as you like.


On 10.12.18 18:34, Bharath Vishnu Neelakantan wrote:
I load the key value pair for configs from a url and then bind it using guice Names.bindProperties . Is there a way to dynamically reload this binding when we make a post call to the app ?.
--
You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscr...@googlegroups.com <mailto:google-guice+unsubscr...@googlegroups.com>. To post to this group, send email to google-guice@googlegroups.com <mailto:google-guice@googlegroups.com>.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/1e926131-6b8d-4d22-8121-bd2c2204efbd%40googlegroups.com <https://groups.google.com/d/msgid/google-guice/1e926131-6b8d-4d22-8121-bd2c2204efbd%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice+unsubscr...@googlegroups.com.
To post to this group, send email to google-guice@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-guice/299a2ef3-a968-3d43-e629-71082498a439%40gmx.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to