kr.co.hit.live.web.mapper.action.impl
Class EJBServiceDelegator

java.lang.Object
  extended by kr.co.hit.live.web.mapper.action.impl.EJBServiceDelegator
All Implemented Interfaces:
ActionDelegator

public class EJBServiceDelegator
extends Object
implements ActionDelegator

Action Map 파일에 정의된 Url이 "ejb://xxx" 인 경우에 사용되는 ActionDelegator의 구현 클래스이다. xxx가 local 인 경우에는 ejb-lookup.xml 파일에 정의된 JNDI 서비스 프로바이더를 기준으로 EJB 호출을 수행하며, 그 외의 경우에는 xxx를 JNDI 서비스 프로바이더 명으로 사용하여 EJB 호출을 수행한다. 이때 xxx는 ejb-lookup.xml 파일에 <jndi-svc-link>로 등록된 명이어야한다.

Since:
4.0
Author:
김형도

Field Summary
static String LOCAL_JNDI_SVC_NAME
           
 
Constructor Summary
EJBServiceDelegator(Action action)
           
 
Method Summary
 Object execute(Class<?>[] argTypes, Object[] argValues, ApplicationContext ctx)
          주어진 파라메터의 타입과 파라메터 값을 사용하여 action을 실행한다.
 Object execute(Object[] argValues, ApplicationContext ctx)
          주어진 파라메터 값을 사용하여 action을 실행한다.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCAL_JNDI_SVC_NAME

public static final String LOCAL_JNDI_SVC_NAME
See Also:
Constant Field Values
Constructor Detail

EJBServiceDelegator

public EJBServiceDelegator(Action action)
Method Detail

execute

public Object execute(Class<?>[] argTypes,
                      Object[] argValues,
                      ApplicationContext ctx)
               throws Throwable
Description copied from interface: ActionDelegator
주어진 파라메터의 타입과 파라메터 값을 사용하여 action을 실행한다.

Specified by:
execute in interface ActionDelegator
Returns:
Throws:
Throwable

execute

public Object execute(Object[] argValues,
                      ApplicationContext ctx)
               throws Throwable
Description copied from interface: ActionDelegator
주어진 파라메터 값을 사용하여 action을 실행한다. 파라메터 타입은 파라메터 값을 사용하여 얻어낸다.

Specified by:
execute in interface ActionDelegator
Returns:
Throws:
Throwable


Copyright © 2014. All Rights Reserved.