net.sf.jour.rt.agent
Class InstrumentationMap

java.lang.Object
  extended bynet.sf.jour.rt.agent.InstrumentationMap

public class InstrumentationMap
extends java.lang.Object

TODO Add docs Created on 02.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.6 $ ($Author: vlads $) $Date: 2004/12/09 19:11:35 $
Author:
vlads

Field Summary
static java.lang.String DEFULAT_FILE_NAME
           
protected  org.apache.log4j.Logger log
           
static java.lang.String separator
           
 
Constructor Summary
InstrumentationMap()
           
 
Method Summary
 void addID(java.lang.Long l, java.lang.String name)
           
(package private)  long getID(java.lang.String name)
           
 long getID(java.lang.String className, java.lang.String methodName, java.lang.String methodSignature)
           
 java.lang.String getName(long cid)
           
 java.lang.Long getNewID(long base)
           
static InstrumentationMap instance()
           
 boolean isUpdated()
           
 boolean load(java.io.File file)
           
 boolean load(java.net.URL url)
           
 boolean save(java.lang.String filename)
           
 long size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.log4j.Logger log

separator

public static final java.lang.String separator
See Also:
Constant Field Values

DEFULAT_FILE_NAME

public static final java.lang.String DEFULAT_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

InstrumentationMap

public InstrumentationMap()
Method Detail

instance

public static InstrumentationMap instance()

isUpdated

public boolean isUpdated()

size

public long size()

getID

public long getID(java.lang.String className,
                  java.lang.String methodName,
                  java.lang.String methodSignature)

getID

long getID(java.lang.String name)

getNewID

public java.lang.Long getNewID(long base)

addID

public void addID(java.lang.Long l,
                  java.lang.String name)

getName

public java.lang.String getName(long cid)

save

public boolean save(java.lang.String filename)

load

public boolean load(java.io.File file)

load

public boolean load(java.net.URL url)


Copyright © 2004 sourceforge. All Rights Reserved.