Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.objectweb.fractal.adl.AbstractLoader
org.objectweb.fractal.adl.components.ComponentLoader
Loader
to check Component
nodes
in definitions. This loader checks sub component names, loads the definitons
referenced by the component nodes (and the "extends" attribute), and merges
all these definitions into a single one (by following inheritance rules).
Field Summary |
Fields inherited from class org.objectweb.fractal.adl.AbstractLoader | |
LOADER_BINDING , clientLoader |
Constructor Summary | |
Method Summary | |
Component |
|
String | |
Component |
|
Definition |
|
Definition |
|
Node | |
Node | |
void |
|
ComponentContainer |
|
void |
|
Definition |
|
void |
|
Methods inherited from class org.objectweb.fractal.adl.AbstractLoader | |
bindFc , listFc , lookupFc , unbindFc |
public String getNameAttributes()
- Specified by:
- getNameAttributes in interface ComponentLoaderAttributes
public Definition load(String name, Map context) throws ADLException
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.
public void normalizeComponentContainer(ComponentContainer container) throws ADLException
public ComponentContainer replaceComponents(ComponentContainer container, Map replacements)
public void resolveComponentContainer(List loaded, ComponentContainer topLevelDefinition, ComponentContainer container, Map context) throws ADLException
public Definition resolveDefinitions(List loaded, String nameList, Map context) throws ADLException
public void setNameAttributes(String nameAttributes)
- Specified by:
- setNameAttributes in interface ComponentLoaderAttributes