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.alternatives; 011 012 import org.picocontainer.ComponentAdapter; 013 014 015 /** 016 * This component adapter makes it possible to hide the implementation of a real subject (behind a proxy) provided the 017 * key is an interface. <p/> This class exists here, because a) it has no deps on external jars, b) dynamic proxy is 018 * quite easy. The user is prompted to look at picocontainer-gems for alternate and bigger implementations. 019 * 020 * @author Aslak Hellesøy 021 * @author Paul Hammant 022 * @see org.picocontainer.gems.HotSwappingComponentAdapter for a more feature-rich version of this class. 023 * @since 1.1 024 * @deprecated since 1.2, moved to package {@link org.picocontainer.defaults} 025 */ 026 public class ImplementationHidingComponentAdapter extends 027 org.picocontainer.defaults.ImplementationHidingComponentAdapter { 028 029 /** 030 * Creates an ImplementationHidingComponentAdapter with a delegate 031 * 032 * @param delegate the component adapter to which this adapter delegates 033 * @param strict the scrict mode boolean 034 * @deprecated since 1.2, moved to package {@link org.picocontainer.defaults} 035 */ 036 public ImplementationHidingComponentAdapter(ComponentAdapter delegate, boolean strict) { 037 super(delegate, strict); 038 } 039 040 }