| A design-time variable resolver that mimics the JSF loadBundle tag. The resolver
attempts to determine if the requested variable corresponds to a property bundle
file in the project source directory. If a property bundle file is found, the
resolver creates a map of all key-value pairs found in the file, and returns it
as the resolution of the variable. The map is cached, to expedite future requests
for the same variable.
Each bundle map listens for changes in its underlying file. If the file is
modified, the map keys are refreshed. Note that this only happens when the user
explicitly saves the bundle file in the IDE.
If the underyling file is renamed or deleted, the map is destroyed.
author: gjmurphy |