appl.data
Interface DataLoader

All Superinterfaces:
Serializable
All Known Subinterfaces:
DataLoadHandler, PartitionDataHandler
All Known Implementing Classes:
AbstractDataHandler, FactoryLoader, GridFileDataLoader, ImportFactoryLoader, SerializedDataLoader, WritableGridArrayLoader, XuluClientLoader, XuluGridSharedFileSystemLoader

public interface DataLoader
extends Serializable

A class that automatically loads a specified object and returns it, as soon as the load() method is invoked. It is the counterpart of DataUnloader.

Author:
Dominik Appl
See Also:
DataUnloader

Method Summary
 String getLoadInfo()
           
 Object load()
          On invocation the data is loaded and returned
 

Method Detail

load

Object load()
            throws LoadingException
On invocation the data is loaded and returned

Returns:
the newly loaded object
Throws:
LoadingException - if for some reason the data could not be loaded

getLoadInfo

String getLoadInfo()
Returns:
some general information about the loading class (like what the class exactly loads)