Interface ScriptFactoryManager

  • All Known Implementing Classes:
    DefaultScriptFactoryManager

    public interface ScriptFactoryManager
    A ScriptFactoryManager is the plug-in point where ScriptFactory implementations need to be registered in order to be available to the runtime.
    • Method Detail

      • findScriptFactory

        Optional<ScriptFactory> findScriptFactory​(String mimeType)
        Finds a factory for the given MIME type.
        Parameters:
        mimeType - type value
        Returns:
        an empty Optional if not factory can be found, otherwise a valued Optional wrapping the factory