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.tutorial.blocks;
011    
012    import org.picocontainer.doc.introduction.Peelable;
013    import org.picocontainer.doc.introduction.Peeler;
014    
015    // START SNIPPET: class
016    
017    public class JuicerBean {
018        private Peelable peelable;
019        private Peeler peeler;
020        protected Peelable getPeelable() {
021            return this.peelable;
022        }
023        protected void setPeelable(Peelable peelable) {
024            this.peelable = peelable;
025        }
026        protected void setPeeler(Peeler peeler) {
027            this.peeler = peeler;
028        }
029        protected Peeler getPeeler() {
030            return this.peeler;
031        }
032    
033    }
034    
035    // END SNIPPET: class