net.kldp.beat.system.interceptor
Class SystemInterceptorPool

java.lang.Object
  extended by net.kldp.beat.system.interceptor.SystemInterceptorPool

public final class SystemInterceptorPool
extends java.lang.Object

인터셉터의 인스턴스를 생성하고 리턴하는 팩터리 클래스입니다.


Field Summary
private static java.util.HashMap<java.lang.Class<? extends java.lang.annotation.Annotation>,SystemInterceptor> interceptors
           
 
Constructor Summary
private SystemInterceptorPool()
           
 
Method Summary
static SystemInterceptor getInterceptor(java.lang.annotation.Annotation annotation)
          어노테이션에 맞는 시스템 인터셉터를 리턴합니다.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interceptors

private static java.util.HashMap<java.lang.Class<? extends java.lang.annotation.Annotation>,SystemInterceptor> interceptors
Constructor Detail

SystemInterceptorPool

private SystemInterceptorPool()
Method Detail

getInterceptor

public static SystemInterceptor getInterceptor(java.lang.annotation.Annotation annotation)
                                        throws InterceptorException
어노테이션에 맞는 시스템 인터셉터를 리턴합니다. 시스템 어노테이션의 경우 싱글턴으로 생성되어 리턴됩니다.

Parameters:
annotation -
Returns:
Interceptor
Throws:
InterceptorException