Interface MacroManagerFactory

All Known Implementing Classes:
MacroManagerFactoryImpl

public interface MacroManagerFactory
An interface defining a component that can return MacroManagers.

This interface is required so that plugins have access to the various MacroManager implementations. The OSGI publishing of components is by interface so we can only have one MacroManager 'plugin:available' or auto-wiring problems will be encountered with plugins (such as Dashboard macros).

  • Method Details

    • getDefaultMacroManager

      MacroManager getDefaultMacroManager()
      Returns:
      the default MacroManager. This is the same as the MacroManager available via OSGI
    • getXhtmlMacroManager

      MacroManager getXhtmlMacroManager()
      Returns:
      the MacroManager responsible for XHTML specific macros only.
    • getUserMacroMacroManager

      MacroManager getUserMacroMacroManager()
      Returns:
      a MacroManager responsible for both UI create User Macros and those installed via plugins.