Package 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,GenericLoader,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetAssembler(String name)Get an Assembler.intgetCacheSize()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
-
-