org.objectweb.proactive.core.group
Class ProActiveComponentGroup
java.lang.Object
org.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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
ProActiveComponentGroup
public ProActiveComponentGroup()
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,
java.lang.String hierarchicalType)
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 ? April 2005 INRIA All Rights Reserved.