View Javadoc
1 /*
2 * Aspect.java
3 * Created on September 12, 2003
4 *
5 * The Blues Framework - A lightweight application framework
6 * Copyright (C) 2003 Lonnie Pryor
7 * http://blues.lonniepryor.com
8 *
9 * This library is free software; you can redistribute it and/or modify it under the
10 * terms of the GNU Lesser General Public License as published by the Free Software
11 * Foundation; either version 2.1 of the License, or (at your option) any later
12 * version.
13 *
14 * This library is distributed in the hope that it will be useful, but WITHOUT ANY
15 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
16 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public License along
19 * with this library; if not, write to:
20 *
21 * The Free Software Foundation, Inc.
22 * 59 Temple Place, Suite 330
23 * Boston, MA 02111-1307 USA
24 *
25 */
26 package com.lonniepryor.blues.aop;
27
28 /***
29 * Represents a collection of named pointcuts, enabling pointcuts to refrence
30 * one-another.
31 *
32 * @author Lonnie Pryor
33 * @version $Revision: 1.1 $
34 */
35 public interface Aspect {
36 /***
37 * Evaluates the named pointcut in this aspect on the supplied joinpoint.
38 *
39 * @param name The name of the pointcut to call.
40 * @param toEvaluate The join point to evaluate.
41 *
42 * @return True if the named pointcut is satisfied by the supplied joinpoint.
43 */
44 boolean callPointcut (String name, JoinPoint toEvaluate);
45 }
This page was automatically generated by Maven