org.objectweb.fractal.adl.arguments

Class ArgumentLoader

Implemented Interfaces:
BindingController, Loader

public class ArgumentLoader
extends AbstractLoader

Fractal ADL Parser Copyright (C) 2002-2004 France Telecom R&D This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Contact: Eric.Bruneton@rd.francetelecom.com Author: Eric Bruneton

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.