1 /***************************************************************************** 2 * Copyright (C) NanoContainer Organization. All rights reserved. * 3 * ------------------------------------------------------------------------- * 4 * The software in this package is published under the terms of the BSD * 5 * style license a copy of which has been included with this distribution in * 6 * the LICENSE.txt file. * 7 *****************************************************************************/ 8 package org.nanocontainer; 9 10 /** 11 * ClassNameKey is a simple wrapper for a class name which is used as a key in 12 * the registration of components in NanoContainer. 13 * 14 * @author Paul Hammant 15 */ 16 public class ClassNameKey { 17 final String className; 18 19 public ClassNameKey(String className) { 20 this.className = className; 21 } 22 23 public String getClassName() { 24 return className; 25 } 26 } 27