|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.component.Fractive
This class is used for creating components. It acts as :
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)
Method createCollectiveClientInterface. |
static ProActiveInterface |
createCollectiveClientInterface(java.lang.String itfName,
java.lang.String itfSignature,
Component owner)
Returns a generated interface reference, whose impl field is a group It is able to handle multiple bindings |
static InterfaceType[] |
getClientInterfaceTypes(ComponentType componentType)
Helper method for extracting the types of client interfaces from the type of a component |
static ComponentParametersController |
getComponentParametersController(Component component)
Returns the ContentController interface of the given component. |
static Component |
getComponentRepresentativeOnThis()
Returns a component representative pointing to the component associated to the component whose active thread is calling this method. |
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, Component owner) throws ProActiveRuntimeException
itfName
- StringitfSignature
- Stringowner
- Component
ProActiveRuntimeException
public static ProActiveInterface createCollectiveClientInterface(java.lang.String itfName, java.lang.String itfSignature) throws ProActiveRuntimeException
itfName
- StringitfSignature
- String
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
arg0
- Typearg1
- Objectarg2
- Object
InstantiationException
GenericFactory.newFcInstance(Type, Object, Object)
public java.lang.Object getFcInterface(java.lang.String itfName) throws NoSuchInterfaceException
Component.getFcInterface(java.lang.String)
getFcInterface
in interface Component
itfName
- String
NoSuchInterfaceException
Component.getFcInterface(String)
public java.lang.Object[] getFcInterfaces()
Component.getFcInterfaces()
getFcInterfaces
in interface Component
Component.getFcInterfaces()
public Type getFcType()
Component.getFcType()
getFcType
in interface Component
Component.getFcType()
public java.lang.Object getFcContentDesc()
Factory.getFcContentDesc()
getFcContentDesc
in interface Factory
Factory.getFcContentDesc()
public java.lang.Object getFcControllerDesc()
Factory.getFcControllerDesc()
getFcControllerDesc
in interface Factory
Factory.getFcControllerDesc()
public Type getFcInstanceType()
Factory.getFcInstanceType()
getFcInstanceType
in interface Factory
Factory.getFcInstanceType()
public Component newFcInstance() throws InstantiationException
Factory.newFcInstance()
newFcInstance
in interface Factory
InstantiationException
Factory.newFcInstance()
public static InterfaceType[] getClientInterfaceTypes(ComponentType componentType)
componentType
- ComponentType
public static Component getComponentRepresentativeOnThis()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |