|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.component.representative.ProActiveComponentRepresentativeImpl
A remote reference on a component.
// TODO finish doc
Control interfaces are also implemented by this representative, which saves
remote calls. In case the component is a primitive, access to content controller
is disallowed.
// TODO access to binding controller for primitive component? ->check client itfs
Field Summary |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
STARTED, STOPPED |
Constructor Summary | |
ProActiveComponentRepresentativeImpl(ComponentType componentType,
java.lang.String hierarchicalType)
|
Method Summary | |
void |
addFcSubComponent(Component subComponent)
|
void |
addParent(Component parent)
|
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
boolean |
equals(java.lang.Object component)
The comparison of component references is actually a comparison of unique identifiers accross jvms. |
ComponentParameters |
getComponentParameters()
|
java.lang.Object |
getFcInterface(java.lang.String interfaceName)
|
java.lang.Object[] |
getFcInterfaces()
|
java.lang.Object |
getFcInternalInterface(java.lang.String interfaceName)
|
java.lang.Object[] |
getFcInternalInterfaces()
|
java.lang.String |
getFcItfName()
implements Interface.getFcItfName() |
Component |
getFcItfOwner()
|
Type |
getFcItfType()
|
java.lang.String |
getFcName()
|
java.lang.String |
getFcState()
|
Component[] |
getFcSubComponents()
|
Component[] |
getFcSuperComponents()
|
Type |
getFcType()
|
UniqueID |
getID()
Only valid for a single element. return null for a group. |
Proxy |
getProxy()
|
java.lang.Object |
getReferenceOnBaseObject()
accessor to the base object : either a direct reference or a stub |
Component |
getRepresentativeOnThis()
provides a reference to the current component |
ComponentRequestQueue |
getRequestQueue()
only available in the meta-objects |
StubObject |
getStubOnBaseObject()
|
int |
hashCode()
|
java.lang.Boolean |
isBound()
|
protected boolean |
isControllerInterface(java.lang.String interfaceName)
|
boolean |
isFcInternalItf()
|
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
protected java.lang.Object |
reifyCall(java.lang.String className,
java.lang.String methodName,
java.lang.Class[] parameterTypes,
java.lang.Object[] effectiveParameters)
|
void |
removeFcSubComponent(Component subComponent)
|
void |
removeParent(Component parent)
|
void |
setComponentParameters(ComponentParameters componentParameters)
|
void |
setFcName(java.lang.String componentName)
|
void |
setProxy(Proxy proxy)
|
void |
setStubOnBaseObject(StubObject stub)
|
void |
startFc()
|
void |
stopFc()
|
void |
unbindFc(java.lang.String clientItfName)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProActiveComponentRepresentativeImpl(ComponentType componentType, java.lang.String hierarchicalType)
Method Detail |
public java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc
in interface BindingController
public void bindFc(java.lang.String clientItfName, java.lang.Object serverItf)
bindFc
in interface BindingController
public void unbindFc(java.lang.String clientItfName)
unbindFc
in interface BindingController
public java.lang.String getFcState()
getFcState
in interface LifeCycleController
public void startFc()
startFc
in interface LifeCycleController
public void stopFc()
stopFc
in interface LifeCycleController
public java.lang.Object[] getFcInternalInterfaces()
getFcInternalInterfaces
in interface ContentController
public java.lang.Object getFcInternalInterface(java.lang.String interfaceName) throws NoSuchInterfaceException
getFcInternalInterface
in interface ContentController
NoSuchInterfaceException
public Component[] getFcSubComponents()
getFcSubComponents
in interface ContentController
public void addFcSubComponent(Component subComponent)
addFcSubComponent
in interface ContentController
public void removeFcSubComponent(Component subComponent)
removeFcSubComponent
in interface ContentController
public Component getFcItfOwner()
getFcItfOwner
in interface Interface
public java.lang.String getFcItfName()
Interface.getFcItfName()
getFcItfName
in interface Interface
public Type getFcItfType()
getFcItfType
in interface Interface
public boolean isFcInternalItf()
isFcInternalItf
in interface Interface
protected java.lang.Object reifyCall(java.lang.String className, java.lang.String methodName, java.lang.Class[] parameterTypes, java.lang.Object[] effectiveParameters)
public java.lang.Object getFcInterface(java.lang.String interfaceName) throws NoSuchInterfaceException
getFcInterface
in interface Component
NoSuchInterfaceException
public java.lang.Object[] getFcInterfaces()
getFcInterfaces
in interface Component
public Type getFcType()
getFcType
in interface Component
public Proxy getProxy()
getProxy
in interface StubObject
public void setProxy(Proxy proxy)
setProxy
in interface StubObject
public boolean equals(java.lang.Object component)
equals
in interface ProActiveComponent
public int hashCode()
public UniqueID getID()
getID
in interface ProActiveComponent
public void setComponentParameters(ComponentParameters componentParameters)
setComponentParameters
in interface ComponentParametersController
public ComponentParameters getComponentParameters()
getComponentParameters
in interface ComponentParametersController
public java.lang.String[] listFc()
listFc
in interface BindingController
public void setFcName(java.lang.String componentName)
setFcName
in interface NameController
public java.lang.String getFcName()
getFcName
in interface NameController
public java.lang.Object getReferenceOnBaseObject()
ProActiveComponent
getReferenceOnBaseObject
in interface ProActiveComponent
public ComponentRequestQueue getRequestQueue()
getRequestQueue
in interface ProActiveComponent
public Component getRepresentativeOnThis()
ProActiveComponent
getRepresentativeOnThis
in interface ProActiveComponent
public Component[] getFcSuperComponents()
getFcSuperComponents
in interface SuperController
public void addParent(Component parent)
addParent
in interface ProActiveSuperController
public void removeParent(Component parent)
removeParent
in interface ProActiveSuperController
public StubObject getStubOnBaseObject()
getStubOnBaseObject
in interface ProActiveComponentRepresentative
public void setStubOnBaseObject(StubObject stub)
setStubOnBaseObject
in interface ProActiveComponentRepresentative
public java.lang.Boolean isBound()
isBound
in interface ProActiveBindingController
protected boolean isControllerInterface(java.lang.String interfaceName) throws NoSuchInterfaceException
NoSuchInterfaceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |