org.objectweb.fractal.adl.implementations

Class ImplementationLoader

Implemented Interfaces:
BindingController, Loader

public class ImplementationLoader
extends AbstractLoader

A Loader to check Implementation nodes in definitions. This loader checks that the Java classes specified in these nodes exist.

Field Summary

Fields inherited from class org.objectweb.fractal.adl.AbstractLoader

LOADER_BINDING, clientLoader

Method Summary

Definition
load(String name, Map context)
Loads the ADL definition whose name is given.

Methods inherited from class org.objectweb.fractal.adl.AbstractLoader

bindFc, listFc, lookupFc, unbindFc

Method Details

load

public Definition load(String name,
                       Map context)
            throws ADLException
Loads the ADL definition whose name is given.
Specified by:
load in interface Loader

Parameters:
name - the name of an ADL definition.
context - optional additional information.

Returns:
the ADL definition whose name is given.

Throws:
ADLException - if the definition cannot be found, or if it contains errors.