01: /*****************************************************************************
02: * Copyright (c) PicoContainer Organization. All rights reserved. *
03: * ------------------------------------------------------------------------- *
04: * The software in this package is published under the terms of the BSD *
05: * style license a copy of which has been included with this distribution in *
06: * the LICENSE.txt file. *
07: * *
08: * Idea by Rachel Davies, Original code by various *
09: *****************************************************************************/package org.nanocontainer.aop;
10:
11: /**
12: * Pointcut that picks classes.
13: *
14: * @author Stephen Molitor
15: * @version $Revision: 3144 $
16: */
17: public interface ClassPointcut {
18:
19: /**
20: * Returns true if <code>clazz</code> satisfies this pointcut.
21: *
22: * @param clazz the class to check for a match.
23: * @return true if the pointcut is satisfied, else false.
24: */
25: boolean picks(Class clazz);
26:
27: }
|