/*
 * @(#)NamedWeakReference.java	1.3 03/01/23
 *
 * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package workflow.client.factory;

/**
 * A NamedWeakReference is a WeakReference with an immutable string name.
 *
 * @author Scott Seligman
 * @version 1.3 03/01/23
 */

class NamedWeakReference extends java.lang.ref.WeakReference
{

	private final String name;

	NamedWeakReference(Object referent, String name)
	{
		super(referent);
		this.name = name;
	}

	String getName()
	{
		return name;
	}
}
