|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.fractal.adl.BasicFactory
Basic implementation of the Factory interface. This implementation
uses a Loader to load ADL definitions, a Compiler to compile
them, and a Scheduler to execute the compiled tasks.
| Field Summary | |
|---|---|
Compiler |
compiler
The Compiler used by this factory. |
static String |
COMPILER_BINDING
Name of the client interface bound to the Compiler used by this
factory. |
Loader |
loader
The Loader used by this factory. |
static String |
LOADER_BINDING
Name of the client interface bound to the Loader used by this
factory. |
org.objectweb.deployment.scheduling.core.api.Scheduler |
scheduler
The Scheduler used by this factory. |
static String |
SCHEDULER_BINDING
Name of the client interface bound to the Scheduler used by this
factory. |
| Constructor Summary | |
|---|---|
BasicFactory()
|
|
| Method Summary | |
|---|---|
void |
bindFc(String itf,
Object value)
|
String[] |
listFc()
|
Object |
lookupFc(String itf)
|
Object |
newComponent(String name,
Map context)
Creates a new instance of the component whose name is given. |
void |
unbindFc(String itf)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String LOADER_BINDING
Loader used by this
factory.
public static final String COMPILER_BINDING
Compiler used by this
factory.
public static final String SCHEDULER_BINDING
Scheduler used by this
factory.
public Loader loader
Loader used by this factory.
public Compiler compiler
Compiler used by this factory.
public org.objectweb.deployment.scheduling.core.api.Scheduler scheduler
Scheduler used by this factory.
| Constructor Detail |
public BasicFactory()
| Method Detail |
public String[] listFc()
listFc in interface BindingControllerpublic Object lookupFc(String itf)
lookupFc in interface BindingController
public void bindFc(String itf,
Object value)
bindFc in interface BindingControllerpublic void unbindFc(String itf)
unbindFc in interface BindingController
public Object newComponent(String name,
Map context)
throws ADLException
Factory
newComponent in interface Factoryname - the name of the component to be created.context - optional additional information.
ADLException - if a problem occurs during the creation of the
component.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||