@Deprecated public abstract class AbstractServiceImpl extends Object
NOTE: 비즈니스 서비스 구현시 디폴드로 Exception 발생을 위한 processException 메소드와 leaveaTrace 메소드를 가지고 있다. processException / leaveaTrace 를 여러스타일의 파라미터를 취할 수 있도록 제공하고 있다.
본 클래스는 eGovFrame 3.0부터 Deprecated 된다. 기존 AbstractServiceImpl을 사용하고 있다면 EgovAbstractServiceImpl 클래스로 변경하는 것을 권장한다. (두 클래스 내용은 모두 동일하며, AbstractServiceImpl 향후 제거될 예정)
<< 개정이력(Modification Information) >> 수정일 수정자 수정내용 --------------------------------------------------------------------------------- 2009.05.30 Judd Cho 최초 생성 2014.06.01 Daniela Kwon @Deprecated 추가 2015.01.31 Vincent Han 코드 품질 개선
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
AbstractServiceImpl.ExceptionCreator
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
egovLogger
Deprecated.
|
| Constructor and Description |
|---|
AbstractServiceImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
leaveaTrace(String msgKey)
Deprecated.
Exception 발생없이 후처리로직 실행을 위한 메소드.
|
protected void |
leaveaTrace(String msgKey,
String[] msgArgs)
Deprecated.
Exception 발생없이 후처리로직 실행을 위한 메소드.
|
protected void |
leaveaTrace(String msgKey,
String[] msgArgs,
Locale locale)
Deprecated.
Exception 발생없이 후처리로직 실행을 위한 메소드.
|
protected Exception |
processException(String msgKey)
Deprecated.
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
Exception e)
Deprecated.
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
String[] msgArgs)
Deprecated.
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
String[] msgArgs,
Exception e)
Deprecated.
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
String[] msgArgs,
Exception e,
Locale locale)
Deprecated.
EgovBizException 발생을 위한 메소드.
|
protected Exception |
processException(String msgKey,
String[] msgArgs,
Exception e,
Locale locale,
AbstractServiceImpl.ExceptionCreator exceptionCreator)
Deprecated.
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, AbstractServiceImpl.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.