simple.http.load
Interface Layout

All Superinterfaces:
java.io.Serializable

public interface Layout
extends java.io.Serializable

The Layout represents the layout of the links and resources within a specific LoaderManager. This is given to Loader objects when the state of the LoaderManager changes. This can be used to determine the state of the engine and provide a graphical display so that an administration client can be used to load and unload resources as well as create links to resources.

Author:
Niall Gallagher

Method Summary
 java.lang.String[] getClassNames()
          This is used to retrieve the fully qualified class names of the resources loaded by the LoaderManager.
 Match[] getMatches()
          This is used to retrieve the links that have been made with the LoaderManager.
 java.lang.String[] getNames()
          This is used to retrieve the unique names of resource instances loaded by the LoaderManager.
 

Method Detail

getMatches

Match[] getMatches()
This is used to retrieve the links that have been made with the LoaderManager. This contains the pattern and name matches made. The order of this array is signifigant as it corrosponnds to the order in which the LoaderManager will resolve resources.

Returns:
an ordered array of Match objects that contain the links made

getClassNames

java.lang.String[] getClassNames()
This is used to retrieve the fully qualified class names of the resources loaded by the LoaderManager. This contains the class names that match by index the names of the resources retrieved with getNames.

Returns:
an array of strings that is parallel to the names retrieved from the getNames method

getNames

java.lang.String[] getNames()
This is used to retrieve the unique names of resource instances loaded by the LoaderManager. The list of names returns matches by index the class type of the instance as retrieved by getClassNames.

Returns:
an array of strings that is parallel to the class names retrieved from the getClassNames method