jasco.runtime.aspect.factory
Class RuntimePerInstanceAspectFactory

java.lang.Object
  extended by jasco.runtime.aspect.factory.AbstractAspectFactory
      extended by jasco.runtime.aspect.factory.WeakReferenceAspectFactory
          extended by jasco.runtime.aspect.factory.RuntimePerInstanceAspectFactory
All Implemented Interfaces:
IAspectFactory, IPredefinedAspectFactory, DoNotCache

public class RuntimePerInstanceAspectFactory
extends WeakReferenceAspectFactory
implements DoNotCache, IPredefinedAspectFactory

Author:
Wim

Constructor Summary
RuntimePerInstanceAspectFactory()
           
 
Method Summary
 java.lang.Object getKey(MethodJoinpoint jp)
          Returns the key for looking up hooks given this joinpoint.
 java.lang.String getKeyFetchSourceCode(java.lang.String jpname, MethodJoinpoint jp)
           
 
Methods inherited from class jasco.runtime.aspect.factory.AbstractAspectFactory
fetchHook, getAll, getAspectInstance, getAspectInstance, storeHook
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jasco.runtime.aspect.factory.IPredefinedAspectFactory
getAspectInstance
 
Methods inherited from interface jasco.runtime.aspect.factory.IAspectFactory
getAll, getAspectInstance
 

Constructor Detail

RuntimePerInstanceAspectFactory

public RuntimePerInstanceAspectFactory()
Method Detail

getKey

public java.lang.Object getKey(MethodJoinpoint jp)
Description copied from class: AbstractAspectFactory
Returns the key for looking up hooks given this joinpoint. Key may be null, default hook is used in that case.

Specified by:
getKey in class AbstractAspectFactory
Parameters:
jp - joinpoint
Returns:
a key for looking up hooks

getKeyFetchSourceCode

public java.lang.String getKeyFetchSourceCode(java.lang.String jpname,
                                              MethodJoinpoint jp)
Specified by:
getKeyFetchSourceCode in interface IPredefinedAspectFactory