kr.co.hit.live.ejb.commander
Class EJBCommanderBean
java.lang.Object
kr.co.hit.live.ejb.controller.SessionAdapter
kr.co.hit.live.ejb.commander.EJBCommanderBean
- All Implemented Interfaces:
- Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean
public class EJBCommanderBean
- extends SessionAdapter
- implements javax.ejb.SessionBean
원격에서 POJO 서비스 객체의 호출을 대행해주는 EJB Commander 구현 클래스이다.
- Author:
- kimhd
- See Also:
kr.co.hit.live.aop.target.EJBDelegatorTargetProxy,
Serialized Form
|
Method Summary |
Object[] |
command(String svcName,
String methodName,
Object[] params,
kr.co.hit.live.context.ServiceContext context)
POJO 서비스 객체로 메소드 호출을 수행한다. |
| Methods inherited from class kr.co.hit.live.ejb.controller.SessionAdapter |
ejbActivate, ejbCreate, ejbPassivate, ejbRemove, getServiceContainer, getServiceContainer, getServiceContext, loadServiceContainer, setRollbackOnly, setSessionContext, unloadServiceContainer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.ejb.SessionBean |
ejbActivate, ejbPassivate, ejbRemove, setSessionContext |
EJBCommanderBean
public EJBCommanderBean()
command
public Object[] command(String svcName,
String methodName,
Object[] params,
kr.co.hit.live.context.ServiceContext context)
throws kr.co.hit.live.exception.LiveException
- POJO 서비스 객체로 메소드 호출을 수행한다.
- Parameters:
svcName - 호출할 POJO 서비스 객체의 서비스 명methodName - 호출할 POJO 서비스의 메소드명params - 메소드 호출시 전달할 파라메터들context - 서비스 컨텍스트 객체
- Returns:
- 첫번째 Object는 실제 메소드 리턴 값, 두번째 Object는 메소드 수행 후의 ServiceContext 객체
- Throws:
kr.co.hit.live.exception.LiveException
Copyright © 2014. All Rights Reserved.