org.apache.turbine.modules

## Interface Loader<T extends Assembler>

- Type Parameters:
    `T` - the specialized assembler type
  All Known Subinterfaces:
    AssemblerFactory<T>
  All Known Implementing Classes:
    ActionLoader, JavaActionFactory, JavaBaseFactory, JavaLayoutFactory, JavaNavigationFactory, JavaPageFactory, JavaScheduledJobFactory, JavaScreenFactory, LayoutLoader, NavigationLoader, PageLoader, PythonActionFactory, PythonBaseFactory, PythonLayoutFactory, PythonNavigationFactory, PythonPageFactory, PythonScreenFactory, ScheduledJobLoader, ScreenLoader

      public interface Loader<T extends Assembler>

  A common interface for Screen, Layout and Navigation Loader
  Author:
    Henning P. Schmiedehausen

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `getAssembler(String name)` Get an Assembler.
    `int` | `getCacheSize()` Get the size of a possibly configured cache

- - ### Method Detail

    - #### getAssembler

          T getAssembler(String name)
                                           throws Exception

      Get an Assembler.
      Parameters:
        `name` - name of the requested Assembler
      Returns:
        an Assembler
      Throws:
        `Exception` - generic exception

    - #### getCacheSize

          int getCacheSize()

      Get the size of a possibly configured cache
      Returns:
        the size of the cache in bytes

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.