Right now I have an InitialReferenceLoaderImpl
which is annotated by @ApplicationScope
and the function is annotated by @PostConstruct
, in this class I'm loading my Application Properties
from the SQL table, but the problem is, If users change something on Application Properties
table, it does not get reflected directly, User needs to restart the server, which I don't want.
I want the user to hit the /refresh
URL so that Application Properties
can be reloaded.
Sorry for the confusing explanation.