    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.testmodel;
    011
    012    /**
    013     * @author Thomas Heller
    014     */
    015    public class DecoratedTouchable implements Touchable {
    016        private final Touchable delegate;
    017
    018        public DecoratedTouchable(Touchable delegate) {
    019            this.delegate = delegate;
    020        }
    021
    022        public void touch() {
    023            delegate.touch();
    024        }
    025    }