public abstract class Key extends Object
Base class for compound keys used in caching proxy types.
| Constructor and Description |
|---|
Key(ClassLoader classLoader)
Each
Key implementation takes the class loader of
the proxy type as well as the classes which are being proxied. |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object o)
Every
Key subclass must define its own Object.equals(Object) method. |
protected ClassLoader |
getClassLoader()
Returns the class loader of the proxy.
|
abstract int |
hashCode()
Every
Key subclass must define its own Object.hashCode() method. |
public Key(ClassLoader classLoader)
Key implementation takes the class loader of
the proxy type as well as the classes which are being proxied.classLoader - The class loader of the proxyprotected ClassLoader getClassLoader()
public abstract boolean equals(Object o)
Key subclass must define its own Object.equals(Object) method.public abstract int hashCode()
Key subclass must define its own Object.hashCode() method.Copyright © 2014. All rights reserved.