Interface AssemblerBrokerService

    • Method Detail

      • registerFactory

        <T extends Assembler> void registerFactory​(AssemblerFactory<T> factory)
        Register an AssemblerFactory class
        Type Parameters:
        T - the type of the assembler
        Parameters:
        factory - The factory object
      • getAssembler

        <T extends Assembler> T getAssembler​(Class<T> type,
                                             String name)
                                      throws TurbineException
        Attempts to load an Assembler of a type with a given name
        Type Parameters:
        T - the type of the assembler
        Parameters:
        type - The Type of the Assembler
        name - The Name of the Assembler
        Returns:
        An Assembler object for the requested name and type
        Throws:
        TurbineException - Something went wrong while looking for the Assembler
      • getLoader

        <T extends AssemblerLoader<T> getLoader​(Class<T> type)
        Get a Loader for the given assembler type
        Type Parameters:
        T - the type of the assembler
        Parameters:
        type - The Type of the Assembler
        Returns:
        A Loader instance for the requested type