[강운덕] [LUCYSUS-1744] mysql interceptor 추가, testcase작성이 가능한 testclassloader 추가.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@569 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2012-09-04 07:02:01 +00:00
parent 19f6a9dca7
commit 4280aa93ee
16 changed files with 397 additions and 35 deletions
@@ -9,8 +9,6 @@ public class InterceptorRegistry {
private final AtomicInteger id = new AtomicInteger(0);
private final Interceptor[] index;
// private final ConcurrentMap<String, List<Integer>> nameToIndex = new
// ConcurrentHashMap<String, List<Integer>>();
public static final InterceptorRegistry REGISTRY = new InterceptorRegistry();
@@ -23,6 +21,7 @@ public class InterceptorRegistry {
this.index = new Interceptor[max];
}
int addInterceptor0(Interceptor interceptor) {
if (interceptor == null) {
return -1;
@@ -47,4 +46,5 @@ public class InterceptorRegistry {
public static Interceptor getInterceptor(int key) {
return REGISTRY.getInterceptor0(key);
}
}