com.jdon.aop.reflection
Class MethodConstructor

java.lang.Object
  extended by com.jdon.aop.reflection.MethodConstructor

public class MethodConstructor
extends java.lang.Object


Constructor Summary
MethodConstructor()
           
 
Method Summary
 java.lang.reflect.Method createMethod(TargetServiceFactory targetServiceFactory, TargetMetaRequest targetMetaRequest)
          ejb's method creating must at first get service's EJB Object; pojo's method creating can only need service's class.
 java.lang.reflect.Method createObjectMethod(java.lang.Object ownerClass, MethodMetaArgs methodMetaArgs)
          create a method object by target Object
 java.lang.reflect.Method createObjectMethod(java.lang.Object ownerClass, java.lang.String methodName, java.lang.Class[] paramTypes)
          create a method object
 java.lang.reflect.Method createPojoMethod(TargetMetaRequest targetMetaRequest)
          create a method object by its meta definition
 MethodInvokerUtil getMethodInvokerUtil()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodConstructor

public MethodConstructor()
Method Detail

getMethodInvokerUtil

public MethodInvokerUtil getMethodInvokerUtil()
Returns:
Returns the methodInvokerUtil.

createMethod

public java.lang.reflect.Method createMethod(TargetServiceFactory targetServiceFactory,
                                             TargetMetaRequest targetMetaRequest)
ejb's method creating must at first get service's EJB Object; pojo's method creating can only need service's class.

Parameters:
targetServiceFactory -
targetMetaRequest -
methodMetaArgs -
Returns:

createPojoMethod

public java.lang.reflect.Method createPojoMethod(TargetMetaRequest targetMetaRequest)
create a method object by its meta definition

Parameters:
targetMetaDef -
cw -
methodMetaArgs -

createObjectMethod

public java.lang.reflect.Method createObjectMethod(java.lang.Object ownerClass,
                                                   MethodMetaArgs methodMetaArgs)
create a method object by target Object

Parameters:
ownerClass -
methodMetaArgs -
Returns:

createObjectMethod

public java.lang.reflect.Method createObjectMethod(java.lang.Object ownerClass,
                                                   java.lang.String methodName,
                                                   java.lang.Class[] paramTypes)
create a method object

Parameters:
ownerClass -
methodName -
paramTypes -
Returns: