/** * Returns true if desired and found method names match only when case is ignored. * @return true if desired and found method names match only when case is ignored */ public boolean matchedLooselyByName() { return matchedMethodName != null? (!matchedExactlyByName() && matchedMethodName.equalsIgnoreCase(methodName)) : false; }
String suppliedTypes = bestMatch.listTypes(suppliedParamTypes); String convertedTypes = bestMatch.listConvertedTypes(); String expectedTypes = bestMatch.listExpectedTypes();
String suppliedTypes = bestMatch.listTypes(suppliedParamTypes); String convertedTypes = bestMatch.listConvertedTypes(); String expectedTypes = bestMatch.listExpectedTypes();
String suppliedTypes = bestMatch.listTypes(suppliedParamTypes); String convertedTypes = bestMatch.listConvertedTypes(); String expectedTypes = bestMatch.listExpectedTypes();
/** * Checks if the method is allowed to be invoked, i.e., if it has been * explicitly excluded, or if inclusions have been specified and it is not * on the inclusion list. * * @throw MessageException if method is not allowed. */ protected void validateAgainstMethodFilters(String methodName) { if (includeMethods != null) { RemotingMethod method = (RemotingMethod)includeMethods.get(methodName); if (method == null) MethodMatcher.methodNotFound(methodName, null, new Match(null)); // Check method-level security constraint, if defined. SecurityConstraint constraint = method.getSecurityConstraint(); if (constraint != null) getDestination().getService().getMessageBroker().getLoginManager().checkConstraint(constraint); } else if ((excludeMethods != null) && excludeMethods.containsKey(methodName)) MethodMatcher.methodNotFound(methodName, null, new Match(null)); }
/** * Checks if the method is allowed to be invoked, i.e., if it has been * explicitly excluded, or if inclusions have been specified and it is not * on the inclusion list. * * @throw MessageException if method is not allowed. */ protected void validateAgainstMethodFilters(String methodName) { if (includeMethods != null) { RemotingMethod method = (RemotingMethod)includeMethods.get(methodName); if (method == null) MethodMatcher.methodNotFound(methodName, null, new Match(null)); // Check method-level security constraint, if defined. SecurityConstraint constraint = method.getSecurityConstraint(); if (constraint != null) getDestination().getService().getMessageBroker().getLoginManager().checkConstraint(constraint); } else if ((excludeMethods != null) && excludeMethods.containsKey(methodName)) MethodMatcher.methodNotFound(methodName, null, new Match(null)); }
/** * Lists the classes in the signature of the method matched. * @return the classes in the signature of the method matched */ public String listExpectedTypes() { return listTypes(methodParamTypes); }
/** * Lists the classes corresponding to actual invocation parameters once they have been * converted as best they could to match the classes in the invoked method's signature. * * @return the classes corresponding to actual invocation parameters once they have been * converted as best they could to match the classes in the invoked method's signature */ public String listConvertedTypes() { return listTypes(convertedSuppliedTypes); }
/** * Lists the classes corresponding to actual invocation parameters once they have been * converted as best they could to match the classes in the invoked method's signature. * * @return the classes corresponding to actual invocation parameters once they have been * converted as best they could to match the classes in the invoked method's signature */ public String listConvertedTypes() { return listTypes(convertedSuppliedTypes); }
/** * Lists the classes corresponding to actual invocation parameters once they have been * converted as best they could to match the classes in the invoked method's signature. * * @return the classes corresponding to actual invocation parameters once they have been * converted as best they could to match the classes in the invoked method's signature */ public String listConvertedTypes() { return listTypes(convertedSuppliedTypes); }
/** * Lists the classes in the signature of the method matched. * @return the classes in the signature of the method matched */ public String listExpectedTypes() { return listTypes(methodParamTypes); }
/** * Returns true if desired and found method names match only when case is ignored. * @return true if desired and found method names match only when case is ignored */ public boolean matchedLooselyByName() { return matchedMethodName != null? (!matchedExactlyByName() && matchedMethodName.equalsIgnoreCase(methodName)) : false; }
/** * Lists the classes in the signature of the method matched. * @return the classes in the signature of the method matched */ public String listExpectedTypes() { return listTypes(methodParamTypes); }
/** * Returns true if desired and found method names match only when case is ignored. * @return true if desired and found method names match only when case is ignored */ public boolean matchedLooselyByName() { if (matchedMethodName != null) return (!matchedExactlyByName() && matchedMethodName.equalsIgnoreCase(methodName)); else return false; }