org.neo.swarm.interceptor.sync
Class SyncConnector

java.lang.Object
  extended byorg.neo.swarm.interceptor.sync.SyncConnector
All Implemented Interfaces:
Aspect

public class SyncConnector
extends java.lang.Object
implements Aspect

A do-nothing interceptor that does zippo. It only applies to methods starting with doStuff

Author:
neil.avery

Constructor Summary
SyncConnector(MethodInterceptor interceptor)
           
 
Method Summary
 void advise(AspectComponent componentInstance)
           
 MethodInterceptor getInterceptor()
           
 java.lang.Object invoke(Invocation invocation)
           
 void replaceInterceptor(MethodInterceptor interceptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncConnector

public SyncConnector(MethodInterceptor interceptor)
Method Detail

advise

public void advise(AspectComponent componentInstance)
Specified by:
advise in interface Aspect

getInterceptor

public MethodInterceptor getInterceptor()
Specified by:
getInterceptor in interface Aspect

replaceInterceptor

public void replaceInterceptor(MethodInterceptor interceptor)
Specified by:
replaceInterceptor in interface Aspect

invoke

public java.lang.Object invoke(Invocation invocation)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2001-2004 SWARM-ONE -First Generation (S)calable(W)ide(AR)ea(M)esh. All Rights Reserved.