return findAsyncServerMethod( implClass, (JavaOperation)operation );
} else {
name = ((JavaOperation)operation).getJavaMethod().getName();
} // end if
}
Interface interface1 = operation.getInterface();
int numParams = operation.getInputType().getLogical().size();
// Account for OUT-only in matching. (Should we cache this number in JavaOperation?)
List<ParameterMode> parmModes = operation.getParameterModes();
int numOutOnlyHolders = 0;
for (ParameterMode mode : parmModes) {
if (mode.equals(ParameterMode.OUT)) {
numOutOnlyHolders++;
}
}
numParams += numOutOnlyHolders;
if (interface1 != null && interface1.isRemotable()) {
List<Method> matchingMethods = new ArrayList<Method>();
for (Method m : implClass.getMethods()) {
if (m.getName().equals(name) && m.getParameterTypes().length == numParams) {
matchingMethods.add(m);
}