org.objectweb.proactive.core.component.identity
Interface ProActiveComponent

All Superinterfaces:
Component
All Known Subinterfaces:
ProActiveComponentRepresentative
All Known Implementing Classes:
ProActiveComponentImpl, ProActiveComponentRepresentativeImpl

public interface ProActiveComponent
extends Component

This class extends Component, in order to provide access to some ProActive functionalities (the parameters of the component, the request queue, the reified object)

Author:
Matthieu Morel

Method Summary
 boolean equals(java.lang.Object object)
          comparison between components
 UniqueID getID()
          getter for a unique identifier
 java.lang.Object getReferenceOnBaseObject()
          accessor to the base object : either a direct reference or a stub
 ComponentRequestQueue getRequestQueue()
          This method's implementation is only valid in the component meta-objects.
 
Methods inherited from interface org.objectweb.fractal.api.Component
getFcInterface, getFcInterfaces, getFcType
 

Method Detail

getReferenceOnBaseObject

public java.lang.Object getReferenceOnBaseObject()
accessor to the base object : either a direct reference or a stub

Returns:
a reference on the base object. If called from the meta-objects, it returns a direct reference on the base object. If called from the representative, it returns a stub on the base object (standard ProActive stub, same type than the base object)

getRequestQueue

public ComponentRequestQueue getRequestQueue()
This method's implementation is only valid in the component meta-objects.

Returns:
a reference to the queue of request of this active object

equals

public boolean equals(java.lang.Object object)
comparison between components

Overrides:
equals in class java.lang.Object
Returns:
true if both components are equals

getID

public UniqueID getID()
getter for a unique identifier

Returns:
a unique identifier of the component (of the active object) accross virtual machines


Copyright © April 2004 INRIA All Rights Reserved.