net.jini.loader.pref
Class PreferredClassProvider.LoaderKey
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference
net.jini.loader.pref.PreferredClassProvider.LoaderKey
- Enclosing class:
- PreferredClassProvider
private class PreferredClassProvider.LoaderKey
- extends WeakReference
Loader table key: a codebase URL path and a weak reference to
a parent class loader (possibly null). The weak reference is
registered with "refQueue" so that the entry can be removed
after the loader has become unreachable.
urls
private final URL[] urls
nullParent
private final boolean nullParent
hashValue
private final int hashValue
PreferredClassProvider.LoaderKey
public PreferredClassProvider.LoaderKey(URL[] urls,
ClassLoader parent)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.