|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.repository.lib.BasicRepository
Basic implementation of the Repository
interface. This implementation
supposes that the component definitions are stored in the repository as
Fractal ADL definitions, in XML form.
Field Summary | |
static java.lang.String |
CONFIGURATION_FACTORY_BINDING
A mandatory client interface bound to a factory . |
static java.lang.String |
DEFINITION_FACTORY_BINDING
TODO javadoc. |
static java.lang.String |
STORAGE_BINDING
A mandatory client interface bound to a storage . |
Constructor Summary | |
BasicRepository()
|
Method Summary | |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
java.lang.String[] |
listFc()
|
Component |
loadComponent(java.lang.String name,
GraphModel graph)
Loads a component (and all its sub components) from this repository. |
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
java.lang.String |
storeComponent(Component component,
GraphModel graph,
java.lang.Object hints)
Stores a component (and all its sub components) into this repository. |
void |
unbindFc(java.lang.String clientItfName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String STORAGE_BINDING
storage
. This is
the storage from which this repository loads the component definitions.
public static final java.lang.String DEFINITION_FACTORY_BINDING
public static final java.lang.String CONFIGURATION_FACTORY_BINDING
factory
. This
factory is used to create components from the component definitions stored
in the storage.
Constructor Detail |
public BasicRepository()
Method Detail |
public java.lang.String[] listFc()
listFc
in interface org.objectweb.fractal.api.control.BindingController
public java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc
in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName, java.lang.Object serverItf)
bindFc
in interface org.objectweb.fractal.api.control.BindingController
public void unbindFc(java.lang.String clientItfName)
unbindFc
in interface org.objectweb.fractal.api.control.BindingController
public Component loadComponent(java.lang.String name, GraphModel graph) throws java.lang.Exception
Repository
loadComponent
in interface Repository
name
- the name of the component to be loaded.graph
- an optional graph model.
java.lang.Exception
- if the component cannot loaded.public java.lang.String storeComponent(Component component, GraphModel graph, java.lang.Object hints) throws java.lang.Exception
Repository
storeComponent
in interface Repository
component
- the component to be stored.graph
- an optional graph model.hints
- options.
java.lang.Exception
- if the component cannot be stored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |