KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nanocontainer > aop > ClassPointcut


1 /*****************************************************************************
2  * Copyright (c) PicoContainer Organization. All rights reserved. *
3  * ------------------------------------------------------------------------- *
4  * The software in this package is published under the terms of the BSD *
5  * style license a copy of which has been included with this distribution in *
6  * the LICENSE.txt file. *
7  * *
8  * Idea by Rachel Davies, Original code by various *
9  *****************************************************************************/

10 package org.nanocontainer.aop;
11
12 /**
13  * Pointcut that picks classes.
14  *
15  * @author Stephen Molitor
16  * @version $Revision: 3144 $
17  */

18 public interface ClassPointcut {
19
20     /**
21      * Returns true if <code>clazz</code> satisfies this pointcut.
22      *
23      * @param clazz the class to check for a match.
24      * @return true if the pointcut is satisfied, else false.
25      */

26     boolean picks(Class JavaDoc clazz);
27
28 }
Popular Tags