| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||
| CachedInvocation |
|
| 0.0;0 |
| 1 | /* |
|
| 2 | * ============================================================================ |
|
| 3 | * GNU Lesser General Public License |
|
| 4 | * ============================================================================ |
|
| 5 | * |
|
| 6 | * Taylor - The Java Enterprise Application Framework. |
|
| 7 | * Copyright (C) 2005 John Gilbert jgilbert01@users.sourceforge.net |
|
| 8 | * |
|
| 9 | * This library is free software; you can redistribute it and/or |
|
| 10 | * modify it under the terms of the GNU Lesser General Public |
|
| 11 | * License as published by the Free Software Foundation; either |
|
| 12 | * version 2.1 of the License, or (at your option) any later version. |
|
| 13 | * |
|
| 14 | * This library is distributed in the hope that it will be useful, |
|
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
| 17 | * Lesser General Public License for more details. |
|
| 18 | * |
|
| 19 | * You should have received a copy of the GNU Lesser General Public |
|
| 20 | * License along with this library; if not, write to the Free Software |
|
| 21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
|
| 22 | * |
|
| 23 | * John Gilbert |
|
| 24 | * Email: jgilbert01@users.sourceforge.net |
|
| 25 | */ |
|
| 26 | package net.taylor.cache; |
|
| 27 | ||
| 28 | import static java.lang.annotation.ElementType.TYPE; |
|
| 29 | import static java.lang.annotation.RetentionPolicy.RUNTIME; |
|
| 30 | ||
| 31 | import java.lang.annotation.Documented; |
|
| 32 | import java.lang.annotation.Retention; |
|
| 33 | import java.lang.annotation.Target; |
|
| 34 | ||
| 35 | import org.jboss.seam.annotations.intercept.Interceptors; |
|
| 36 | ||
| 37 | /** |
|
| 38 | * Add the CachedInvocationInterceptor to a Seam component. |
|
| 39 | * |
|
| 40 | * @author jgilbert01 |
|
| 41 | */ |
|
| 42 | @Interceptors(CachedInvocationInterceptor.class) |
|
| 43 | @Target(TYPE) |
|
| 44 | @Retention(RUNTIME) |
|
| 45 | @Documented |
|
| 46 | public @interface CachedInvocation { |
|
| 47 | } |