jasco.runtime.distribution
Class DistributedSynchronizedInvoker

java.lang.Object
  extended by jasco.runtime.distribution.DistributedSynchronizedInvoker

public class DistributedSynchronizedInvoker
extends java.lang.Object


Method Summary
static DistributedSynchronizedInvoker getInstance()
           
 java.lang.Object invokeRemoteSynchronous(SynchronousAdviceExecution adviceExecution)
          What this method should do is invoke the DistributedSynchronizedInvoker.invokeSynchronous method on the correct host in a synchronous manner.
 java.lang.Object invokeSynchronous(SynchronousAdviceExecution adviceExecution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DistributedSynchronizedInvoker getInstance()

invokeRemoteSynchronous

public java.lang.Object invokeRemoteSynchronous(SynchronousAdviceExecution adviceExecution)
What this method should do is invoke the DistributedSynchronizedInvoker.invokeSynchronous method on the correct host in a synchronous manner. The host can be fetched from the adviceExecution argument. The invoked method will take care of executing the advice etc... I will also make sure that the DistributedSynchronizedInvoker.invokeRemoteSynchronous method is executed from synchronous advices (have to alter compiler for that). Thats all that needs to be changed to the distributed implementation. The joinpoints still need to be broadcasted for asynch advice execution. I will just make sure that synch advices are not executed on such joinpoints.


invokeSynchronous

public java.lang.Object invokeSynchronous(SynchronousAdviceExecution adviceExecution)