org.apache.turbine.modules
Interface Loader<T extends Assembler>

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

Version:
$Id: Loader.java 1078552 2011-03-06 19:58:46Z tv $
Author:
Henning P. Schmiedehausen

Method Summary
 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-2011 The Apache Software Foundation. All Rights Reserved.