leodbc.javaagent.instrumentor
Class InstrumentorCache

java.lang.Object
  extended by leodbc.javaagent.instrumentor.InstrumentorCache

public class InstrumentorCache
extends java.lang.Object

Cache che contiene le classi già modificate per i contratti

Author:
Leonardo Cecchi

Constructor Summary
InstrumentorCache()
          Inizializzazione
 
Method Summary
 byte[] getFromCache(java.lang.String name)
          Ritorna una classe se è già in cache
 void setCache(java.lang.String name, byte[] byteCode)
          Imposta un bytecode nella cache
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentorCache

public InstrumentorCache()
Inizializzazione

Method Detail

getFromCache

public byte[] getFromCache(java.lang.String name)
Ritorna una classe se è già in cache

Parameters:
name - Nome della classe
Returns:
Classe modificata oppure null

setCache

public void setCache(java.lang.String name,
                     byte[] byteCode)
Imposta un bytecode nella cache

Parameters:
name - Nome della classe corrispondente
byteCode - Bytecode