001    /*****************************************************************************
002     * Copyright (C) PicoContainer 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     * Original code by                                                          *
009     *****************************************************************************/
010    package org.picocontainer.doc.hotswapping;
011    
012    /**
013     * @author Aslak Hellesøy
014     * @version $Revision: 3603 $
015     */
016    // START SNIPPET: class
017    public class Wife implements Woman {
018        public final Man man;
019    
020        public Wife(Man man) {
021            this.man = man;
022        }
023    
024        public Man getMan() {
025            return man;
026        }
027    }
028    
029    // END SNIPPET: class