private boolean needWrapperClassInterceptor(ServiceInfo serviceInfo) { if (serviceInfo == null) { return false; } for (OperationInfo opInfo : serviceInfo.getInterface().getOperations()) { if (opInfo.isUnwrappedCapable() && opInfo.getProperty(ReflectionServiceFactoryBean.WRAPPERGEN_NEEDED) != null) { return true; } } return false; }
public boolean isUnwrappedCapable() { return opInfo.isUnwrappedCapable(); } public BindingOperationInfo getUnwrappedOperation() {
public boolean isUnwrappedCapable() { return opInfo.isUnwrappedCapable(); } public BindingOperationInfo getUnwrappedOperation() {
public boolean isUnwrappedCapable() { return opInfo.isUnwrappedCapable(); } public BindingOperationInfo getUnwrappedOperation() {
public boolean isUnwrappedCapable() { return opInfo.isUnwrappedCapable(); } public BindingOperationInfo getUnwrappedOperation() {
public boolean hasWrappedMethods(InterfaceInfo interfaceInfo) { for (OperationInfo opInfo : interfaceInfo.getOperations()) { if (opInfo.isUnwrappedCapable()) { return true; } } return false; }
public boolean hasWrappedMethods(InterfaceInfo interfaceInfo) { for (OperationInfo opInfo : interfaceInfo.getOperations()) { if (opInfo.isUnwrappedCapable()) { return true; } } return false; }
public void bind(OperationInfo o, Method... methods) { Method primary = methods[0]; for (Method m : methods) { methodToOp.put(m, o); Map<BindingInfo, BindingOperationInfo> biToBop = new ConcurrentHashMap<BindingInfo, BindingOperationInfo>(4, 0.75f, 2); infoMap.put(m, biToBop); } opToMethod.put(o, primary); if (o.isUnwrappedCapable()) { opToMethod.put(o.getUnwrappedOperation(), primary); } }
public void bind(OperationInfo o, Method... methods) { Method primary = methods[0]; for (Method m : methods) { methodToOp.put(m, o); Map<BindingInfo, BindingOperationInfo> biToBop = new ConcurrentHashMap<>(4, 0.75f, 2); infoMap.put(m, biToBop); } opToMethod.put(o, primary); if (o.isUnwrappedCapable()) { opToMethod.put(o.getUnwrappedOperation(), primary); } }
public boolean hasWrappedMethods(InterfaceInfo interfaceInfo) { for (OperationInfo opInfo : interfaceInfo.getOperations()) { if (opInfo.isUnwrappedCapable()) { return true; } } return false; }
public void bind(OperationInfo o, Method... methods) { Method primary = methods[0]; for (Method m : methods) { methodToOp.put(m, o); Map<BindingInfo, BindingOperationInfo> biToBop = new ConcurrentHashMap<BindingInfo, BindingOperationInfo>(4, 0.75f, 2); infoMap.put(m, biToBop); } opToMethod.put(o, primary); if (o.isUnwrappedCapable()) { opToMethod.put(o.getUnwrappedOperation(), primary); } }
public void bind(OperationInfo o, Method... methods) { Method primary = methods[0]; for (Method m : methods) { methodToOp.put(m, o); Map<BindingInfo, BindingOperationInfo> biToBop = new ConcurrentHashMap<>(4, 0.75f, 2); infoMap.put(m, biToBop); } opToMethod.put(o, primary); if (o.isUnwrappedCapable()) { opToMethod.put(o.getUnwrappedOperation(), primary); } }
public Set<Class<?>> generate() { for (OperationInfo opInfo : interfaceInfo.getOperations()) { if (opInfo.isUnwrappedCapable()) { Method method = (Method)opInfo.getProperty(ReflectionServiceFactoryBean.METHOD); if (method == null) {
.value()); if (operation.isUnwrappedCapable()) { faultInfo = getFaultInfo(operation.getUnwrappedOperation(), faultAction.className()); if (faultInfo != null && !StringUtils.isEmpty(faultAction.value())) { fi.addExtensionAttribute(JAXWSAConstants.WSAM_ACTION_QNAME, computeAction(operation, f)); if (operation.isUnwrappedCapable()) { fi = operation.getUnwrappedOperation().getFault(fi.getName()); fi.addExtensionAttribute(JAXWSAConstants.WSAM_ACTION_QNAME,
public void updateUnwrappedOperation() { if (opInfo.isUnwrappedCapable() && opHolder == null) { opHolder = new BindingOperationInfo(bindingInfo, opInfo.getUnwrappedOperation(), this); } }
public void updateUnwrappedOperation() { if (opInfo.isUnwrappedCapable() && opHolder == null) { opHolder = new BindingOperationInfo(bindingInfo, opInfo.getUnwrappedOperation(), this); } }
public void updateUnwrappedOperation() { if (opInfo.isUnwrappedCapable() && opHolder == null) { opHolder = new BindingOperationInfo(bindingInfo, opInfo.getUnwrappedOperation(), this); } }
public void updateUnwrappedOperation() { if (opInfo.isUnwrappedCapable() && opHolder == null) { opHolder = new BindingOperationInfo(bindingInfo, opInfo.getUnwrappedOperation(), this); } }
private boolean needWrapperClassInterceptor(ServiceInfo serviceInfo) { if (serviceInfo == null) { return false; } for (OperationInfo opInfo : serviceInfo.getInterface().getOperations()) { if (opInfo.isUnwrappedCapable() && opInfo.getProperty(ReflectionServiceFactoryBean.WRAPPERGEN_NEEDED) != null) { return true; } } return false; }
public BindingOperationInfo(BindingInfo bi, OperationInfo opinfo) { bindingInfo = bi; opInfo = opinfo; if (opInfo.getInput() != null) { inputMessage = new BindingMessageInfo(opInfo.getInput(), this); } else { inputMessage = null; } if (opInfo.getOutput() != null) { outputMessage = new BindingMessageInfo(opInfo.getOutput(), this); } else { outputMessage = null; } Collection<FaultInfo> of = opinfo.getFaults(); if (of != null && !of.isEmpty()) { faults = new ConcurrentHashMap<>(of.size(), 0.75f, 2); for (FaultInfo fault : of) { faults.put(fault.getFaultName(), new BindingFaultInfo(fault, this)); } } if (opinfo.isUnwrappedCapable()) { opHolder = new BindingOperationInfo(bi, opinfo.getUnwrappedOperation(), this); } } BindingOperationInfo(BindingInfo bi, OperationInfo opinfo, BindingOperationInfo wrapped) {