public Method createMethod(TargetServiceFactory targetServiceFactory) {
        Method method = null;
        Debug.logVerbose("[JdonFramework] enter create the Method " , module);
        try {
        	TargetMetaRequest targetMetaRequest = targetMetaRequestsHolder.getTargetMetaRequest();
            if (targetMetaRequest.getTargetMetaDef().isEJB()) { 
                Object obj= methodInvokerUtil.createTargetObject(targetServiceFactory);
                method = createObjectMethod(obj, targetMetaRequest.getMethodMetaArgs());
            }else{
                method = createPojoMethod();
            }
        } catch (Exception ex) {
            Debug.logError("[JdonFramework] createMethod error: " + ex, module);
        }
        
        return method;

    }
public Method createMethod ( TargetServiceFactory targetServiceFactory ) { Method method = null ; Debug . logVerbose ( "[JdonFramework] enter create the Method " , module ) ; try { TargetMetaRequest targetMetaRequest = targetMetaRequestsHolder . getTargetMetaRequest ( ) ; if ( targetMetaRequest . getTargetMetaDef ( ) . isEJB ( ) ) { Object obj = methodInvokerUtil . createTargetObject ( targetServiceFactory ) ; method = createObjectMethod ( obj , targetMetaRequest . getMethodMetaArgs ( ) ) ; } else { method = createPojoMethod ( ) ; } } catch ( Exception ex ) { Debug . logError ( "[JdonFramework] createMethod error: " + ex , module ) ; } return method ; }
ejb's method creating must at first get service's EJB Object;
pojo's method creating can only need service's class.

@param targetServiceFactory
@param targetMetaRequest
@param methodMetaArgs
@return