001    /*****************************************************************************
002     * Copyright (C) NanoContainer Organization. All rights reserved.            *
003     * ------------------------------------------------------------------------- *
004     * The software in this package is published under the terms of the BSD      *
005     * style license a copy of which has been included with this distribution in *
006     * the LICENSE.txt file.                                                     *
007     *****************************************************************************/
008    package org.nanocontainer;
009    
010    /**
011     * ClassNameKey is a simple wrapper for a class name which is used as a key in 
012     * the registration of components in NanoContainer.
013     * 
014     * @author Paul Hammant
015     */
016    public class ClassNameKey {
017        final String className;
018    
019        public ClassNameKey(String className) {
020            this.className = className;
021        }
022    
023        public String getClassName() {
024            return className;
025        }
026    }