org.objectweb.proactive.core.component.representative
Class ProActiveComponentRepresentativeFactory

java.lang.Object
  extended byorg.objectweb.proactive.core.component.representative.ProActiveComponentRepresentativeFactory

public class ProActiveComponentRepresentativeFactory
extends java.lang.Object

This is a factory for component representatives.

Author:
Matthieu Morel

Method Summary
 ProActiveComponentRepresentative createComponentRepresentative(ComponentType componentType, Proxy proxy)
          Creates a component representative according to the type of the component (it also generates the required functional interfaces), and connects the representative to the given proxy
static ProActiveComponentRepresentativeFactory instance()
          returns the unique instance in the jvm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static ProActiveComponentRepresentativeFactory instance()
returns the unique instance in the jvm

Returns:
the unique instance in the jvm

createComponentRepresentative

public ProActiveComponentRepresentative createComponentRepresentative(ComponentType componentType,
                                                                      Proxy proxy)
Creates a component representative according to the type of the component (it also generates the required functional interfaces), and connects the representative to the given proxy

Parameters:
componentType - the type of the component
proxy - the proxy to the active object
Returns:
a corresponding component representative


Copyright ? October 2004 INRIA All Rights Reserved.