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     * Idea by Rachel Davies, Original code by various                           *
009     *****************************************************************************/
010    package org.nanocontainer.aop;
011    
012    /**
013     * Pointcut that picks classes.
014     *
015     * @author Stephen Molitor
016     * @version $Revision: 3144 $
017     */
018    public interface ClassPointcut {
019    
020        /**
021         * Returns true if <code>clazz</code> satisfies this pointcut.
022         *
023         * @param clazz the class to check for a match.
024         * @return true if the pointcut is satisfied, else false.
025         */
026        boolean picks(Class clazz);
027    
028    }