jasco.runtime.inline
Class InlineCodeCache

java.lang.Object
  extended by jasco.runtime.inline.InlineCodeCache

public class InlineCodeCache
extends java.lang.Object

Author:
Wim TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static java.lang.String NOSTATE
           
 
Method Summary
 void addInlineCode(javassist.CtMethod jp, java.lang.Object code)
           
 void addInlineHookJP(IHook hook, java.lang.String designator, JascoMethod method)
           
 java.lang.Object getCachedInlineCode(javassist.CtMethod jp)
           
 java.util.Iterator getInlineHookJPs(IHook hook, java.lang.String designator)
           
static InlineCodeCache getInstance()
           
 void invalidateCache()
           
protected  javassist.CtMethod transformToJavassistMethod(JascoMethod method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOSTATE

public static final java.lang.String NOSTATE
See Also:
Constant Field Values
Method Detail

getInstance

public static InlineCodeCache getInstance()

invalidateCache

public void invalidateCache()

addInlineCode

public void addInlineCode(javassist.CtMethod jp,
                          java.lang.Object code)

getCachedInlineCode

public java.lang.Object getCachedInlineCode(javassist.CtMethod jp)

transformToJavassistMethod

protected javassist.CtMethod transformToJavassistMethod(JascoMethod method)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

addInlineHookJP

public void addInlineHookJP(IHook hook,
                            java.lang.String designator,
                            JascoMethod method)

getInlineHookJPs

public java.util.Iterator getInlineHookJPs(IHook hook,
                                           java.lang.String designator)