net.kldp.beat.interceptor.pool
Class UserInterceptorContainer

java.lang.Object
  extended by net.kldp.beat.interceptor.pool.UserInterceptorContainer

public class UserInterceptorContainer
extends java.lang.Object

사용자 인터셉터를 저장하고 불러들이는 컨테이너 입니다.


Field Summary
private  java.lang.annotation.Annotation annotation
           
private  java.lang.Class<? extends UserInterceptor> interceptor
           
private  java.util.List<java.lang.annotation.Annotation> systemAnnotations
           
 
Constructor Summary
UserInterceptorContainer(java.lang.annotation.Annotation annotation)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
private  java.util.List<java.lang.annotation.Annotation> findSystemInterceptors()
          사용자 인터셉터에 사용된 시스템 인터셉터를 검색합니다.
 java.lang.annotation.Annotation getAnnotatoin()
          사용자 인터셉터의 어노테이션을 리턴합니다.
 UserInterceptor getInterceptor(ActionContext context)
          사용자 인터셉터의 인터셉터 객체를 리턴합니다.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotation

private java.lang.annotation.Annotation annotation

systemAnnotations

private java.util.List<java.lang.annotation.Annotation> systemAnnotations

interceptor

private java.lang.Class<? extends UserInterceptor> interceptor
Constructor Detail

UserInterceptorContainer

public UserInterceptorContainer(java.lang.annotation.Annotation annotation)
                         throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException
Method Detail

findSystemInterceptors

private java.util.List<java.lang.annotation.Annotation> findSystemInterceptors()
사용자 인터셉터에 사용된 시스템 인터셉터를 검색합니다.

Returns:

getAnnotatoin

public java.lang.annotation.Annotation getAnnotatoin()
사용자 인터셉터의 어노테이션을 리턴합니다.

Returns:

getInterceptor

public UserInterceptor getInterceptor(ActionContext context)
                               throws InterceptorException
사용자 인터셉터의 인터셉터 객체를 리턴합니다.

Parameters:
context -
Returns:
Throws:
InterceptorException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object