org.objectweb.fractal.adl.attributes
Class AttributeLoader

java.lang.Object
  extended byorg.objectweb.fractal.adl.AbstractLoader
      extended byorg.objectweb.fractal.adl.attributes.AttributeLoader
All Implemented Interfaces:
BindingController, Loader

public class AttributeLoader
extends AbstractLoader

A Loader to check Attributes nodes in definitions. This loader checks that the Java attribute controller interfaces specified in these nodes exist, and that the attribute names and values are consistent with the methods of theses interfaces.


Field Summary
 
Fields inherited from class org.objectweb.fractal.adl.AbstractLoader
clientLoader, LOADER_BINDING
 
Constructor Summary
AttributeLoader()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeLoader

public AttributeLoader()
Method Detail

load

public Definition load(String name,
                       Map context)
                throws ADLException
Description copied from interface: Loader
Loads the ADL definition whose name is given.

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.