com.jdon.aop.reflection
类 MethodInvokerUtil

java.lang.Object
  继承者 com.jdon.aop.reflection.MethodInvokerUtil

public class MethodInvokerUtil
extends Object

tools for method invoke

作者:
banq

构造方法摘要
MethodInvokerUtil(TargetMetaRequestsHolder targetMetaRequestsHolder)
           
 
方法摘要
 Object createTargetObject(TargetServiceFactory targetServiceFactory)
          if target service is ejb object, cache it, so this function can active stateful session bean.
 Object execute(Method method, Object targetObj, Object[] p_args)
          the service execute by method reflection
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

MethodInvokerUtil

public MethodInvokerUtil(TargetMetaRequestsHolder targetMetaRequestsHolder)
方法详细信息

execute

public Object execute(Method method,
                      Object targetObj,
                      Object[] p_args)
               throws Throwable
the service execute by method reflection

参数:
method -
targetObj -
p_args -
返回:
抛出:
Throwable

createTargetObject

public Object createTargetObject(TargetServiceFactory targetServiceFactory)
if target service is ejb object, cache it, so this function can active stateful session bean.

参数:
targetServiceFactory -
targetMetaDef -
返回:
抛出:
Exception


Copyright © 2013. All Rights Reserved.