01: /*****************************************************************************
02: * Copyright (C) NanoContainer Organization. All rights reserved. *
03: * ------------------------------------------------------------------------- *
04: * The software in this package is published under the terms of the BSD *
05: * style license a copy of which has been included with this distribution in *
06: * the LICENSE.txt file. *
07: *****************************************************************************/package org.nanocontainer;
08:
09: /**
10: * ClassNameKey is a simple wrapper for a class name which is used as a key in
11: * the registration of components in NanoContainer.
12: *
13: * @author Paul Hammant
14: */
15: public class ClassNameKey {
16: final String className;
17:
18: public ClassNameKey(String className) {
19: this .className = className;
20: }
21:
22: public String getClassName() {
23: return className;
24: }
25: }
|