org.davesag.generica.controller
Interface Loader

All Superinterfaces:
ActionController, Controller

public interface Loader
extends ActionController

An implementation of the Loader interface must be able to load an object given a unique indentifier.

Since:
Generica 1.0
Version:
CVS Revision $Id: Loader.java,v 1.2 2004/03/30 10:12:56 norm Exp $
Author:
Dave Sag http://www.davesag.com

Method Summary
 Object load(String key)
          Loads the object specified by target.
 
Methods inherited from interface org.davesag.generica.controller.ActionController
setAction
 
Methods inherited from interface org.davesag.generica.controller.Controller
setForm, setRequest, setResponse
 

Method Detail

load

public Object load(String key)
            throws Exception
Loads the object specified by target.

Parameters:
key - The unique identifier of the target object.
Returns:
The object loaded using the key.
Throws:
Exception - if something goes wrong.


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.