|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.core.component.Fractive
This class is used for creating components.
It acts as :
1. a bootstrap component
2. a GenericFactory for instantiating new components
3. a utility class providing static methods to create collective interfaces and retreive references to ComponentParametersController
Constructor Summary | |
Fractive()
no-arg constructor (used by Fractal to get a bootstrap component) |
Method Summary | |
static ProActiveInterface |
createCollectiveClientInterface(java.lang.String itfName,
java.lang.String itfSignature)
Returns a generated interface reference, whose impl field is a group It is able to handle multiple bindings |
static ComponentParametersController |
getComponentParametersController(Component component)
Returns the ContentController interface of the given component. |
java.lang.Object |
getFcContentDesc()
see Factory.getFcContentDesc() |
java.lang.Object |
getFcControllerDesc()
see Factory.getFcControllerDesc() |
Type |
getFcInstanceType()
see Factory.getFcInstanceType() |
java.lang.Object |
getFcInterface(java.lang.String itfName)
see Component.getFcInterface(java.lang.String) |
java.lang.Object[] |
getFcInterfaces()
see Component.getFcInterfaces() |
Type |
getFcType()
see Component.getFcType() |
Component |
newFcInstance()
see Factory.newFcInstance() |
Component |
newFcInstance(Type arg0,
java.lang.Object arg1,
java.lang.Object arg2)
see GenericFactory.newFcInstance(org.objectweb.fractal.api.Type, java.lang.Object, java.lang.Object) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Fractive()
Method Detail |
public static ComponentParametersController getComponentParametersController(Component component) throws NoSuchInterfaceException
ContentController
interface of the given component.
component
- a component.
ContentController
interface of the given component.
NoSuchInterfaceException
- if there is no such interface.public static ProActiveInterface createCollectiveClientInterface(java.lang.String itfName, java.lang.String itfSignature) throws ProActiveRuntimeException
ProActiveRuntimeException
public Component newFcInstance(Type arg0, java.lang.Object arg1, java.lang.Object arg2) throws InstantiationException
GenericFactory.newFcInstance(org.objectweb.fractal.api.Type, java.lang.Object, java.lang.Object)
newFcInstance
in interface GenericFactory
InstantiationException
public java.lang.Object getFcInterface(java.lang.String itfName) throws NoSuchInterfaceException
Component.getFcInterface(java.lang.String)
getFcInterface
in interface Component
NoSuchInterfaceException
public java.lang.Object[] getFcInterfaces()
Component.getFcInterfaces()
getFcInterfaces
in interface Component
public Type getFcType()
Component.getFcType()
getFcType
in interface Component
public java.lang.Object getFcContentDesc()
Factory.getFcContentDesc()
getFcContentDesc
in interface Factory
public java.lang.Object getFcControllerDesc()
Factory.getFcControllerDesc()
getFcControllerDesc
in interface Factory
public Type getFcInstanceType()
Factory.getFcInstanceType()
getFcInstanceType
in interface Factory
public Component newFcInstance() throws InstantiationException
Factory.newFcInstance()
newFcInstance
in interface Factory
InstantiationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |