org.neo.swarm.core.aop.silc.comp
Class RegexPointCut

java.lang.Object
  extended byorg.neo.swarm.core.aop.silc.comp.RegexPointCut
All Implemented Interfaces:
Pointcut, java.io.Serializable

public class RegexPointCut
extends java.lang.Object
implements java.io.Serializable, Pointcut

Matches using String.match()

See Also:
http://java.sun.com/j2se/1.4.1/docs/api/java/util/regex/Pattern.html#sum, Serialized Form

Constructor Summary
RegexPointCut(java.lang.String matches)
           
 
Method Summary
 void advise(Perspective perspective, AspectComponent component, MethodInterceptor interceptor)
           
 boolean shouldAdvise(AspectComponent component, java.lang.reflect.Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexPointCut

public RegexPointCut(java.lang.String matches)
Method Detail

advise

public void advise(Perspective perspective,
                   AspectComponent component,
                   MethodInterceptor interceptor)
Specified by:
advise in interface Pointcut

shouldAdvise

public boolean shouldAdvise(AspectComponent component,
                            java.lang.reflect.Method method)
Specified by:
shouldAdvise in interface Pointcut


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