|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
BaseInterceptor.java | - | - | - | - |
|
1 | /* | |
2 | * JBoss, the OpenSource J2EE webOS | |
3 | * | |
4 | * Distributable under LGPL license. | |
5 | * See terms of license at gnu.org. | |
6 | */ | |
7 | package org.jboss.cache.pojo.interceptors.dynamic; | |
8 | ||
9 | import org.jboss.aop.advice.Interceptor; | |
10 | import org.jboss.cache.Fqn; | |
11 | import org.jboss.cache.pojo.impl.PojoInstance; | |
12 | ||
13 | ||
14 | /** | |
15 | * Base cache interceptor | |
16 | * | |
17 | * @author Ben Wang | |
18 | */ | |
19 | ||
20 | public interface BaseInterceptor | |
21 | extends Interceptor, Cloneable | |
22 | { | |
23 | /** | |
24 | * Get the original fqn that is associated with this interceptor (or advisor). | |
25 | */ | |
26 | Fqn getFqn(); | |
27 | ||
28 | void setFqn(Fqn fqn); | |
29 | ||
30 | PojoInstance getAopInstance(); | |
31 | ||
32 | void setAopInstance(PojoInstance pojoInstance); | |
33 | ||
34 | void setInterceptor(Interceptor interceptor); | |
35 | } |
|