org.codehaus.aspectwerkz.joinpoint.management
Class JoinPointRegistry

java.lang.Object
  extended byorg.codehaus.aspectwerkz.joinpoint.management.JoinPointRegistry

public class JoinPointRegistry
extends Object

Manages the registration of join points and advices for these join points.

Author:
Jonas Bonér

Constructor Summary
JoinPointRegistry()
           
 
Method Summary
 Map getCflowPointcutsForJoinPoint(long classHash, long joinPointHash)
          Returns the keys to the advices for the join point.
 Map getJoinPointMetaData(long classHash, long joinPointHash)
          Returns the keys to the advices for the join point.
 void registerJoinPoint(int joinPointType, int joinPointHash, String signature, int classHash, Class declaringClass, ReflectionInfo withinInfo, AspectSystem system)
          Registers the advices for the method join point.
 void reset(int classHash)
          Resets the registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinPointRegistry

public JoinPointRegistry()
Method Detail

registerJoinPoint

public void registerJoinPoint(int joinPointType,
                              int joinPointHash,
                              String signature,
                              int classHash,
                              Class declaringClass,
                              ReflectionInfo withinInfo,
                              AspectSystem system)
Registers the advices for the method join point.

Parameters:
joinPointType -
joinPointHash -
signature -
classHash -
declaringClass -
withinInfo -
system -

getJoinPointMetaData

public Map getJoinPointMetaData(long classHash,
                                long joinPointHash)
Returns the keys to the advices for the join point.

Parameters:
classHash -
joinPointHash -
Returns:
the advices attached to the join point

getCflowPointcutsForJoinPoint

public Map getCflowPointcutsForJoinPoint(long classHash,
                                         long joinPointHash)
Returns the keys to the advices for the join point.

Parameters:
classHash -
joinPointHash -
Returns:
the advices attached to the join point

reset

public void reset(int classHash)
Resets the registry.

Parameters:
classHash -


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.