org.ow2.jasmine.jade.reflex.adl
Class ReflexBasicFactory

java.lang.Object
  extended by org.ow2.jasmine.jade.reflex.adl.ReflexBasicFactory
All Implemented Interfaces:
org.objectweb.fractal.adl.Factory, org.objectweb.fractal.api.control.BindingController

public class ReflexBasicFactory
extends java.lang.Object
implements org.objectweb.fractal.api.control.BindingController, org.objectweb.fractal.adl.Factory

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
 org.objectweb.fractal.adl.Compiler compiler
          The Compiler used by this factory.
static java.lang.String COMPILER_BINDING
          Name of the client interface bound to the Compiler used by this factory.
 org.objectweb.fractal.adl.Loader loader
          The Loader used by this factory.
static java.lang.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 java.lang.String SCHEDULER_BINDING
          Name of the client interface bound to the Scheduler used by this factory.
 
Constructor Summary
ReflexBasicFactory()
           
 
Method Summary
 void bindFc(java.lang.String itf, java.lang.Object value)
           
 java.lang.String[] listFc()
           
 java.lang.Object lookupFc(java.lang.String itf)
           
 java.lang.Object newComponent(java.lang.String name, java.util.Map context)
           
 java.lang.Object newComponentType(java.lang.String name, java.util.Map context)
           
 void unbindFc(java.lang.String itf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOADER_BINDING

public static final java.lang.String LOADER_BINDING
Name of the client interface bound to the Loader used by this factory.

See Also:
Constant Field Values

COMPILER_BINDING

public static final java.lang.String COMPILER_BINDING
Name of the client interface bound to the Compiler used by this factory.

See Also:
Constant Field Values

SCHEDULER_BINDING

public static final java.lang.String SCHEDULER_BINDING
Name of the client interface bound to the Scheduler used by this factory.

See Also:
Constant Field Values

loader

public org.objectweb.fractal.adl.Loader loader
The Loader used by this factory.


compiler

public org.objectweb.fractal.adl.Compiler compiler
The Compiler used by this factory.


scheduler

public org.objectweb.deployment.scheduling.core.api.Scheduler scheduler
The Scheduler used by this factory.

Constructor Detail

ReflexBasicFactory

public ReflexBasicFactory()
Method Detail

listFc

public java.lang.String[] listFc()
Specified by:
listFc in interface org.objectweb.fractal.api.control.BindingController

lookupFc

public java.lang.Object lookupFc(java.lang.String itf)
Specified by:
lookupFc in interface org.objectweb.fractal.api.control.BindingController

bindFc

public void bindFc(java.lang.String itf,
                   java.lang.Object value)
Specified by:
bindFc in interface org.objectweb.fractal.api.control.BindingController

unbindFc

public void unbindFc(java.lang.String itf)
Specified by:
unbindFc in interface org.objectweb.fractal.api.control.BindingController

newComponentType

public java.lang.Object newComponentType(java.lang.String name,
                                         java.util.Map context)
                                  throws org.objectweb.fractal.adl.ADLException
Specified by:
newComponentType in interface org.objectweb.fractal.adl.Factory
Throws:
org.objectweb.fractal.adl.ADLException

newComponent

public java.lang.Object newComponent(java.lang.String name,
                                     java.util.Map context)
                              throws org.objectweb.fractal.adl.ADLException
Specified by:
newComponent in interface org.objectweb.fractal.adl.Factory
Throws:
org.objectweb.fractal.adl.ADLException


Copyright © 2008 OW2 Consortium. All Rights Reserved.