org.aspectj.weaver.tools.cache
Class CachedClassReference

java.lang.Object
  extended by org.aspectj.weaver.tools.cache.CachedClassReference

public class CachedClassReference
extends java.lang.Object

A typed reference to a cached class entry. The key to any cache entry is a simple string, but that string may contain some specialized encoding. This class handles all of that encoding.

External users of the cache should not be able to create these objects manually.


Constructor Summary
protected CachedClassReference(java.lang.String key, CacheKeyResolver resolver)
           
protected CachedClassReference(java.lang.String key, java.lang.String className)
          Protected to allow only the WeavedClassCache initialization rights
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.String getKey()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedClassReference

protected CachedClassReference(java.lang.String key,
                               CacheKeyResolver resolver)

CachedClassReference

protected CachedClassReference(java.lang.String key,
                               java.lang.String className)
Protected to allow only the WeavedClassCache initialization rights

Parameters:
key - encoded key of the class
className - the classname
Method Detail

getKey

public java.lang.String getKey()

getClassName

public java.lang.String getClassName()