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

java.lang.Object
  |
  +--org.objectweb.proactive.core.body.AbstractUniversalBody
        |
        +--org.objectweb.proactive.core.body.AbstractBody
              |
              +--org.objectweb.proactive.core.body.BodyImpl
                    |
                    +--org.objectweb.proactive.core.component.body.ComponentBodyImpl
All Implemented Interfaces:
Body, ComponentBody, 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
protected static org.apache.log4j.Logger logger
           
 
Fields inherited from class org.objectweb.proactive.core.body.BodyImpl
JobID, messageEventProducer, replyReceiver, requestReceiver
 
Fields inherited from class org.objectweb.proactive.core.body.AbstractBody
internalBodySecurity, isSecurityOn, localBodyStrategy, openedSessions, pgm, psm, threadStore
 
Fields inherited from class org.objectweb.proactive.core.body.AbstractUniversalBody
bodyID, 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, getJobID, internalReceiveReply, internalReceiveRequest, removeMessageEventListener, setImmediateService
 
Methods inherited from class org.objectweb.proactive.core.body.AbstractBody
acceptCommunication, activityStarted, blockCommunication, checkNewLocation, disableAC, enableAC, enterInThreadStore, exitFromThreadStore, getCertificate, getCertificateEncoded, getEntities, getFuturePool, getName, getPolicy, getPolicyFrom, getPolicyTo, getProActiveSecurityManager, getPublicKey, getReifiedObject, getRequestQueue, getSPMDGroup, getVNName, initiateSession, isActive, isAlive, negociateKeyReceiverSide, publicKeyExchange, randomValue, receiveReply, receiveRequest, renegociateSessionIfNeeded, secretKeyExchange, sendRequest, serve, setLocalBodyImpl, setSPMDGroup, startDefaultProActiveSecurityManager, startNewSession, terminate, terminateSession, test, toString
 
Methods inherited from class org.objectweb.proactive.core.body.AbstractUniversalBody
getID, 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
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
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 2004 INRIA All Rights Reserved.