org.objectweb.proactive.core.component.body
Class ComponentBodyImpl

java.lang.Object
  extended byorg.objectweb.proactive.core.body.AbstractUniversalBody
      extended byorg.objectweb.proactive.core.body.AbstractBody
          extended byorg.objectweb.proactive.core.body.BodyImpl
              extended byorg.objectweb.proactive.core.component.body.ComponentBodyImpl
All Implemented Interfaces:
Body, ComponentBody, Handlerizable, Job, LocalBodyStrategy, MessageEventProducer, java.io.Serializable, UniversalBody
Direct Known Subclasses:
MigratableBody

public class ComponentBodyImpl
extends BodyImpl
implements ComponentBody

This class has been inserted into the bodies hierarchy in order to instantiate the component metaobject (ProActiveComponent).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.proactive.core.body.BodyImpl
messageEventProducer, replyReceiver, requestReceiver
 
Fields inherited from class org.objectweb.proactive.core.body.AbstractBody
ftmanager, internalBodySecurity, isInterfaceSecureImplemented, isSecurityOn, localBodyStrategy, logger, openedSessions, psm, spmdManager, threadStore
 
Fields inherited from class org.objectweb.proactive.core.body.AbstractUniversalBody
bodyID, jobID, location, nodeURL, remoteBody, remoteBodyFactory
 
Constructor Summary
ComponentBodyImpl()
          Constructor for ComponentBodyImpl.
ComponentBodyImpl(java.lang.Object reifiedObject, java.lang.String nodeURL, MetaObjectFactory factory, java.lang.String jobID)
          Constructor for ComponentBodyImpl.
 
Method Summary
 ProActiveComponent getProActiveComponent()
          Returns the a reference on the Component meta object
 
Methods inherited from class org.objectweb.proactive.core.body.BodyImpl
activityStopped, addMessageEventListener, internalReceiveReply, internalReceiveRequest, removeMessageEventListener, setImmediateService, updateNodeURL
 
Methods inherited from class org.objectweb.proactive.core.body.AbstractBody
acceptCommunication, activityStarted, blockCommunication, checkNewLocation, clearHandlersLevel, disableAC, enableAC, enterInThreadStore, exitFromThreadStore, getCertificate, getCertificateEncoded, getEntities, getFTManager, getFuturePool, getHandlerizableInfo, getHandlersLevel, getName, getPolicy, getPolicyFrom, getPolicyTo, getProActiveSecurityManager, getProActiveSPMDGroupManager, getPublicKey, getReifiedObject, getRequestQueue, getSPMDGroup, getSPMDGroupSize, getVNName, initiateSession, isActive, isAlive, negociateKeyReceiverSide, publicKeyExchange, randomValue, receiveFTMessage, receiveReply, receiveRequest, renegociateSessionIfNeeded, secretKeyExchange, sendRequest, serve, setExceptionHandler, setFTManager, setLocalBodyImpl, setPolicyServer, setSPMDGroup, startDefaultProActiveSecurityManager, startNewSession, terminate, terminateSession, toString, unsetExceptionHandler
 
Methods inherited from class org.objectweb.proactive.core.body.AbstractUniversalBody
getID, getJobID, getNodeURL, getRemoteAdapter, updateLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.proactive.core.body.UniversalBody
getID, getNodeURL, getRemoteAdapter, updateLocation
 
Methods inherited from interface org.objectweb.proactive.Job
getJobID
 

Constructor Detail

ComponentBodyImpl

public ComponentBodyImpl()
Constructor for ComponentBodyImpl.


ComponentBodyImpl

public ComponentBodyImpl(java.lang.Object reifiedObject,
                         java.lang.String nodeURL,
                         MetaObjectFactory factory,
                         java.lang.String jobID)
Constructor for ComponentBodyImpl. It creates the component metaobject only if the MetaObjectFactory is parameterized with ComponentParameters (thus implicitely constructing components)

Parameters:
reifiedObject - a reference on the reified object
nodeURL - node url
factory - factory for the corresponding metaobjects
Method Detail

getProActiveComponent

public ProActiveComponent getProActiveComponent()
Returns the a reference on the Component meta object

Specified by:
getProActiveComponent in interface ComponentBody
Returns:
the ProActiveComponent meta-object


Copyright ? April 2005 INRIA All Rights Reserved.