public abstract class EgovAbstractServiceImpl extends Object
NOTE: 비즈니스 서비스 구현시 디폴드로 Exception 발생을 위한 processException 메소드와 leaveaTrace 메소드를 가지고 있다. processException / leaveaTrace 를 여러스타일의 파라미터를 취할 수 있도록 제공하고 있다. 또한 EgovAbstractServiceImpl을 상속하는 클래스는 직접 Logger 생성없이 protected로 선언된 egovLogger를 사용할 수 있다.
== 개정이력(Modification Information) == 수정일 수정자 수정내용 --------------------------------------------------------------------------------- 2014.06.01 Daniela Kwon 최초생성
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
EgovAbstractServiceImpl.ExceptionCreator |
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
egovLogger |
| Constructor and Description |
|---|
EgovAbstractServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
leaveaTrace(String msgKey)
Exception 발생없이 후처리로직 실행을 위한 메소드.
|
protected void |
leaveaTrace(String msgKey,
String[] msgArgs)
Exception 발생없이 후처리로직 실행을 위한 메소드.
|
protected void |
leaveaTrace(String msgKey,
String[] msgArgs,
Locale locale)
Exception 발생없이 후처리로직 실행을 위한 메소드.
|
protected Exception |
processException(String msgKey)
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
Exception e)
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
String[] msgArgs)
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
String[] msgArgs,
Exception e)
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
String[] msgArgs,
Exception e,
Locale locale)
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
String[] msgArgs,
Exception e,
Locale locale,
EgovAbstractServiceImpl.ExceptionCreator exceptionCreator)
EgovBizException 발생을 위한 메소드.
|
protected Exception processException(String msgKey)
msgKey - 메세지리소스에서 제공되는 메세지의 키값protected Exception processException(String msgKey, Exception e)
msgKey - 메세지리소스에서 제공되는 메세지의 키값exception - 발생한 Exception(내부적으로 취하고 있다가 에러핸들링시 사용)protected Exception processException(String msgKey, String[] msgArgs)
msgKey - 메세지리소스에서 제공되는 메세지의 키값msgArgs - msgKey의 메세지에서 변수에 취환되는 값들protected Exception processException(String msgKey, String[] msgArgs, Exception e)
msgKey - 메세지리소스에서 제공되는 메세지의 키값msgArgs - msgKey의 메세지에서 변수에 취환되는 값들exception - 발생한 Exception(내부적으로 취하고 있다가 에러핸들링시 사용)protected Exception processException(String msgKey, String[] msgArgs, Exception e, Locale locale)
msgKey - 메세지리소스에서 제공되는 메세지의 키값msgArgs - msgKey의 메세지에서 변수에 취환되는 값들exception - 발생한 Exception(내부적으로 취하고 있다가 에러핸들링시 사용)locale - 명시적 국가/언어지정protected Exception processException(String msgKey, String[] msgArgs, Exception e, Locale locale, EgovAbstractServiceImpl.ExceptionCreator exceptionCreator)
msgKey - 메세지리소스에서 제공되는 메세지의 키값msgArgs - msgKey의 메세지에서 변수에 취환되는 값들exception - 발생한 Exception(내부적으로 취하고 있다가 에러핸들링시 사용)locale - 명시적 국가/언어지정exceptionCreator - 외부에서 별도의 Exception 생성기 지정protected void leaveaTrace(String msgKey)
msgKey - 메세지리소스에서 제공되는 메세지의 키값protected void leaveaTrace(String msgKey, String[] msgArgs)
msgKey - 메세지리소스에서 제공되는 메세지의 키값msgArgs - msgKey의 메세지에서 변수에 취환되는 값들Copyright © 2015. All rights reserved.