Fired after WebsiteSettings has finished reading the ".settings.xml" files under a website's WEB-INF folder. Carries the loaded WebsiteSettings, the DataSession it was loaded from and the map of parsed file data, so app listeners can pick out their own settings file and initialise from it. For example ECommerceApp listens for this event to load its pricing rules as soon as a website's settings are (re)loaded.

Implements: Event


Properties

PropertyReturnsDescription
dataMap<String,Object>The parsed contents of every ".settings.xml" file found under WEB-INF, keyed by file or directory name.
dataSessionDataSessionThe data session the settings were loaded from.
settingsWebsiteSettingsThe website settings this event was fired for.

Methods

getSettings()

Returns: WebsiteSettings

The website settings this event was fired for.

getDataSession()

Returns: DataSession

The data session the settings were loaded from.

getData()

Returns: Map<String,Object>

The parsed contents of every ".settings.xml" file found under WEB-INF, keyed by file or directory name.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.