public BindingOperationInfo getBindingOperation(Method method, Endpoint endpoint) { Map<BindingInfo, BindingOperationInfo> bops = infoMap.get(method); if (bops == null) { return null; } BindingOperationInfo bop = bops.get(endpoint.getEndpointInfo().getBinding()); if (bop == null) { OperationInfo o = methodToOp.get(method); if (o == null) { return null; } BindingInfo b = endpoint.getEndpointInfo().getBinding(); for (BindingOperationInfo bop2 : b.getOperations()) { if (bop2.getOperationInfo().equals(o)) { bop2 = getRealOperation(o, bop2); bops.put(b, bop2); return bop2; } } } return bop; }
public BindingOperationInfo getBindingOperation(Method method, Endpoint endpoint) { Map<BindingInfo, BindingOperationInfo> bops = infoMap.get(method); if (bops == null) { return null; } BindingOperationInfo bop = bops.get(endpoint.getEndpointInfo().getBinding()); if (bop == null) { OperationInfo o = methodToOp.get(method); if (o == null) { return null; } BindingInfo b = endpoint.getEndpointInfo().getBinding(); for (BindingOperationInfo bop2 : b.getOperations()) { if (bop2.getOperationInfo().equals(o)) { bop2 = getRealOperation(o, bop2); bops.put(b, bop2); return bop2; } } } return bop; }
public BindingOperationInfo getBindingOperation(Method method, Endpoint endpoint) { Map<BindingInfo, BindingOperationInfo> bops = infoMap.get(method); if (bops == null) { return null; } BindingOperationInfo bop = bops.get(endpoint.getEndpointInfo().getBinding()); if (bop == null) { OperationInfo o = methodToOp.get(method); if (o == null) { return null; } BindingInfo b = endpoint.getEndpointInfo().getBinding(); for (BindingOperationInfo bop2 : b.getOperations()) { if (bop2.getOperationInfo().equals(o)) { bop2 = getRealOperation(o, bop2); bops.put(b, bop2); return bop2; } } } return bop; }
public BindingOperationInfo getBindingOperation(Method method, Endpoint endpoint) { Map<BindingInfo, BindingOperationInfo> bops = infoMap.get(method); if (bops == null) { return null; } BindingOperationInfo bop = bops.get(endpoint.getEndpointInfo().getBinding()); if (bop == null) { OperationInfo o = methodToOp.get(method); if (o == null) { return null; } BindingInfo b = endpoint.getEndpointInfo().getBinding(); for (BindingOperationInfo bop2 : b.getOperations()) { if (bop2.getOperationInfo().equals(o)) { bop2 = getRealOperation(o, bop2); bops.put(b, bop2); return bop2; } } } return bop; }