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,
Component owner)
throws java.lang.ClassNotFoundException,
ClassNotReifiableException
- creates an empty group able to contain ProActiveInterfaceImpl objects of the given type..
The stub in front of the group proxy is of type ProActiveInterfaceImpl.
- Parameters:
interfaceType
- the type of interface we need a group of Interface objects on
- Returns:
- a group of ProActiveInterfaceImpl elements
- Throws:
java.lang.ClassNotFoundException
ClassNotReifiableException
newComponentRepresentativeGroup
public static ProActiveComponentRepresentative newComponentRepresentativeGroup(ComponentParameters componentParameters)
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:
componentParameters
- parameters of this component
- Returns:
- a stub/proxy
- Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
Copyright 2001-2005 INRIA All Rights Reserved.