simple.http.load
Interface Loader

All Superinterfaces:
java.rmi.Remote

public interface Loader
extends java.rmi.Remote

The Loader object represents an object that uses the LoaderManager to load and link resources. The loader will recieve updates regarding changes with the manager. This is done so the implementation can take action based on the most up to date information. The implementation can also make make changes to links using the LoaderManager or (un)load resources. This is useful if there is an administration application that is used to manage resource configurations with the LoaderManager.

The intended use of the Loader is that it be used with some sort of graphical administration utility. The update messages can then be used to refresh or repaint the graphics which provides the user with a consistent view of the remote LoaderManager configuration.

Author:
Niall Gallagher

Method Summary
 void update(LoaderManager manager, Layout layout)
          The update method is invoked when there is a change in the layout.
 

Method Detail

update

void update(LoaderManager manager,
            Layout layout)
            throws java.rmi.RemoteException
The update method is invoked when there is a change in the layout. The change can be a link, load, unlink, or unload action. The intention is not that the implementation interpret the Layout and take action but that the implementation refresh a display for a graphical administration utility that interacts with the LoaderManager.

Parameters:
manager - this is the manager that has been updated
layout - this contains the current configuration of the LoaderManager
Throws:
java.rmi.RemoteException - this is thrown by the RMI system if there is a problem with the invocation