Event Object

The event is your primary object throughout the rendering process. With it you can gather many core Mura objects as well as variables that have been set earlier in the process.

Note: The following are all accessible through the Event bean

  • ConfigBean: The config bean holds the global configuration variables such as the datasource, db username, db password, file system information, etc.
  • ServiceFactory: Currently this is the bean factory (Coldspring) that Mura uses.
  • PluginManager: This gives you access to the plugins, their configurations, etc.
  • ContentRenderer: This gives you access to the main rendering methods that are used within the rendering process.
  • ContentBean: This is the content node/bean being rendered at the time of the request.
  • Site: This is site specific information dependent on whichever site you may be rendering at the time of the request.