org.objectweb.proactive.core.component.adl.implementations
Class ProActiveImplementationBuilderImpl

java.lang.Object
  extended byorg.objectweb.proactive.core.component.adl.implementations.ProActiveImplementationBuilderImpl
All Implemented Interfaces:
BindingController, org.objectweb.fractal.adl.implementations.ImplementationBuilder, ProActiveImplementationBuilder

public class ProActiveImplementationBuilderImpl
extends java.lang.Object
implements ProActiveImplementationBuilder, BindingController

Author:
Matthieu Morel

Field Summary
 RegistryManager registry
           
static java.lang.String REGISTRY_BINDING
           
 
Constructor Summary
ProActiveImplementationBuilderImpl()
           
 
Method Summary
 void bindFc(java.lang.String itf, java.lang.Object value)
           
 java.lang.Object createComponent(java.lang.Object type, java.lang.String name, java.lang.String definition, ControllerDescription controllerDesc, ContentDescription contentDesc, VirtualNode adlVN, java.util.Map context)
          Allows the creation of a ProActive component on a given virtual node
 java.lang.Object createComponent(java.lang.Object arg0, java.lang.String arg1, java.lang.String arg2, java.lang.Object arg3, java.lang.Object arg4, java.lang.Object arg5)
           
 java.lang.String[] listFc()
           
 java.lang.Object lookupFc(java.lang.String itf)
           
 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

REGISTRY_BINDING

public static final java.lang.String REGISTRY_BINDING
See Also:
Constant Field Values

registry

public RegistryManager registry
Constructor Detail

ProActiveImplementationBuilderImpl

public ProActiveImplementationBuilderImpl()
Method Detail

listFc

public java.lang.String[] listFc()
Specified by:
listFc in interface BindingController

lookupFc

public java.lang.Object lookupFc(java.lang.String itf)
Specified by:
lookupFc in interface BindingController

bindFc

public void bindFc(java.lang.String itf,
                   java.lang.Object value)
Specified by:
bindFc in interface BindingController

unbindFc

public void unbindFc(java.lang.String itf)
Specified by:
unbindFc in interface BindingController

createComponent

public java.lang.Object createComponent(java.lang.Object arg0,
                                        java.lang.String arg1,
                                        java.lang.String arg2,
                                        java.lang.Object arg3,
                                        java.lang.Object arg4,
                                        java.lang.Object arg5)
                                 throws java.lang.Exception
Specified by:
createComponent in interface org.objectweb.fractal.adl.implementations.ImplementationBuilder
Throws:
java.lang.Exception

createComponent

public java.lang.Object createComponent(java.lang.Object type,
                                        java.lang.String name,
                                        java.lang.String definition,
                                        ControllerDescription controllerDesc,
                                        ContentDescription contentDesc,
                                        VirtualNode adlVN,
                                        java.util.Map context)
                                 throws java.lang.Exception
Description copied from interface: ProActiveImplementationBuilder
Allows the creation of a ProActive component on a given virtual node

Specified by:
createComponent in interface ProActiveImplementationBuilder
Parameters:
type - the type of the component
name - the name of the component
definition - the definition of the component
controllerDesc - the description of the controller
contentDesc - the description of the content
adlVN - the virtual node where the component should be deployed
context - context
Returns:
an instance of the specified component (or a group of instances if the virtual node is a multiple one)
Throws:
java.lang.Exception - if the creation of the component failed


Copyright ? April 2005 INRIA All Rights Reserved.