org.objectweb.proactive.core.group
Class ProActiveComponentGroup

java.lang.Object
  extended byorg.objectweb.proactive.core.group.ProActiveComponentGroup

public class ProActiveComponentGroup
extends java.lang.Object

// TODO : change class name (interfaces only are grouped) A class for creating groups of interfaces Indeed, the standard mechanism cannot be used here, as we are referencing components through interfaces of component representatives. It was moved to this package so it can see className attribute in ProxyForGroup

Author:
Matthieu Morel

Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
ProActiveComponentGroup()
           
 
Method Summary
static ProActiveInterface newComponentInterfaceGroup(InterfaceType interfaceType)
          creates an empty group able to contain ProActiveInterface objects of the given type..
static ProActiveComponentRepresentative newComponentRepresentativeGroup(ComponentType componentType)
          Creates an empty component stub+a group proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

ProActiveComponentGroup

public ProActiveComponentGroup()
Method Detail

newComponentInterfaceGroup

public static ProActiveInterface newComponentInterfaceGroup(InterfaceType interfaceType)
                                                     throws java.lang.ClassNotFoundException,
                                                            ClassNotReifiableException
creates an empty group able to contain ProActiveInterface objects of the given type.. The stub in front of the group proxy is of type ProActiveInterface.

Parameters:
interfaceType - the type of interface we need a group of Interface objects on
Returns:
a group of ProActiveInterface elements
Throws:
java.lang.ClassNotFoundException
ClassNotReifiableException

newComponentRepresentativeGroup

public static ProActiveComponentRepresentative newComponentRepresentativeGroup(ComponentType componentType)
                                                                        throws java.lang.ClassNotFoundException,
                                                                               java.lang.InstantiationException
Creates an empty component stub+a group proxy. The stub in front of the group proxy is a component stub (instance of ComponentRepresentativeImpl), that offers references to the functional interfaces defined in the type of the component.

Parameters:
componentType - the type of the component (i.e. the functional interfaces it offers and requires)
Returns:
a stub/proxy
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException


Copyright ? October 2004 INRIA All Rights Reserved.