org.objectweb.proactive.core.body.migration
Class MigrationManagerImpl

java.lang.Object
  |
  +--org.objectweb.proactive.core.event.AbstractEventProducer
        |
        +--org.objectweb.proactive.core.body.migration.MigrationManagerImpl
All Implemented Interfaces:
MigrationManager, java.io.Serializable
Direct Known Subclasses:
MigrationManagerWithLocationServer, MigrationManagerWithMixedLocation

public class MigrationManagerImpl
extends AbstractEventProducer
implements MigrationManager, java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
AbstractEventProducer.ListenerList
 
Field Summary
protected static org.apache.log4j.Logger logger
           
 
Fields inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
eventListeners, shouldSerializeListeners
 
Constructor Summary
MigrationManagerImpl()
           
 
Method Summary
 void addMigrationEventListener(MigrationEventListener listener)
           
 Node checkNode(Node node)
           
 ReplyReceiver createReplyReceiver(UniversalBody remoteBody, ReplyReceiver currentReplyReceiver)
           
 RequestReceiver createRequestReceiver(UniversalBody remoteBody, RequestReceiver currentRequestReceiver)
           
 UniversalBody migrateTo(Node node, Body body)
           
protected  void notifyOneListener(ProActiveListener listener, ProActiveEvent event)
          Notifies one listener with the event.
 void removeMigrationEventListener(MigrationEventListener listener)
           
 void startingAfterMigration(Body body)
           
 
Methods inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
addListener, hasListeners, notifyAllListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

MigrationManagerImpl

public MigrationManagerImpl()
Method Detail

checkNode

public Node checkNode(Node node)
               throws MigrationException
Specified by:
checkNode in interface MigrationManager
MigrationException

migrateTo

public UniversalBody migrateTo(Node node,
                               Body body)
                        throws MigrationException
Specified by:
migrateTo in interface MigrationManager
MigrationException

startingAfterMigration

public void startingAfterMigration(Body body)
Specified by:
startingAfterMigration in interface MigrationManager

createRequestReceiver

public RequestReceiver createRequestReceiver(UniversalBody remoteBody,
                                             RequestReceiver currentRequestReceiver)
Specified by:
createRequestReceiver in interface MigrationManager

createReplyReceiver

public ReplyReceiver createReplyReceiver(UniversalBody remoteBody,
                                         ReplyReceiver currentReplyReceiver)
Specified by:
createReplyReceiver in interface MigrationManager

addMigrationEventListener

public void addMigrationEventListener(MigrationEventListener listener)
Specified by:
addMigrationEventListener in interface MigrationManager

removeMigrationEventListener

public void removeMigrationEventListener(MigrationEventListener listener)
Specified by:
removeMigrationEventListener in interface MigrationManager

notifyOneListener

protected void notifyOneListener(ProActiveListener listener,
                                 ProActiveEvent event)
Description copied from class: AbstractEventProducer
Notifies one listener with the event.

Specified by:
notifyOneListener in class AbstractEventProducer


Copyright © April 2004 INRIA All Rights Reserved.