Java Code Examples for com.sun.xml.internal.ws.api.model.MEP#ONE_WAY
The following examples show how to use
com.sun.xml.internal.ws.api.model.MEP#ONE_WAY .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RuntimeModeler.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private MEP getMEP(Method m){ if (getAnnotation(m, Oneway.class)!= null) { return MEP.ONE_WAY; } if(Response.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_POLL; }else if(Future.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_CALLBACK; } return MEP.REQUEST_RESPONSE; }
Example 2
Source File: RuntimeModeler.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private MEP getMEP(Method m){ if (getAnnotation(m, Oneway.class)!= null) { return MEP.ONE_WAY; } if(Response.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_POLL; }else if(Future.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_CALLBACK; } return MEP.REQUEST_RESPONSE; }
Example 3
Source File: WSDLGenerator.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Generates the parameterOrder for a PortType operation * @param operation The operation to generate the parameterOrder for * @param method The {@link JavaMethod} to generate the parameterOrder from */ protected void generateParameterOrder(Operation operation, JavaMethodImpl method) { if (method.getMEP() == MEP.ONE_WAY) return; if (isRpcLit(method)) generateRpcParameterOrder(operation, method); else generateDocumentParameterOrder(operation, method); }
Example 4
Source File: RuntimeModeler.java From hottub with GNU General Public License v2.0 | 5 votes |
private MEP getMEP(Method m){ if (getAnnotation(m, Oneway.class)!= null) { return MEP.ONE_WAY; } if(Response.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_POLL; }else if(Future.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_CALLBACK; } return MEP.REQUEST_RESPONSE; }
Example 5
Source File: WSDLGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Generates the parameterOrder for a PortType operation * @param operation The operation to generate the parameterOrder for * @param method The {@link JavaMethod} to generate the parameterOrder from */ protected void generateParameterOrder(Operation operation, JavaMethodImpl method) { if (method.getMEP() == MEP.ONE_WAY) return; if (isRpcLit(method)) generateRpcParameterOrder(operation, method); else generateDocumentParameterOrder(operation, method); }
Example 6
Source File: RuntimeModeler.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private MEP getMEP(Method m){ if (getAnnotation(m, Oneway.class)!= null) { return MEP.ONE_WAY; } if(Response.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_POLL; }else if(Future.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_CALLBACK; } return MEP.REQUEST_RESPONSE; }
Example 7
Source File: WSDLGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Generates the parameterOrder for a PortType operation * @param operation The operation to generate the parameterOrder for * @param method The {@link JavaMethod} to generate the parameterOrder from */ protected void generateParameterOrder(Operation operation, JavaMethodImpl method) { if (method.getMEP() == MEP.ONE_WAY) return; if (isRpcLit(method)) generateRpcParameterOrder(operation, method); else generateDocumentParameterOrder(operation, method); }
Example 8
Source File: RuntimeModeler.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private MEP getMEP(Method m){ if (getAnnotation(m, Oneway.class)!= null) { return MEP.ONE_WAY; } if(Response.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_POLL; }else if(Future.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_CALLBACK; } return MEP.REQUEST_RESPONSE; }
Example 9
Source File: WSDLGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Generates the parameterOrder for a PortType operation * @param operation The operation to generate the parameterOrder for * @param method The {@link JavaMethod} to generate the parameterOrder from */ protected void generateParameterOrder(Operation operation, JavaMethodImpl method) { if (method.getMEP() == MEP.ONE_WAY) return; if (isRpcLit(method)) generateRpcParameterOrder(operation, method); else generateDocumentParameterOrder(operation, method); }
Example 10
Source File: RuntimeModeler.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private MEP getMEP(Method m){ if (getAnnotation(m, Oneway.class)!= null) { return MEP.ONE_WAY; } if(Response.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_POLL; }else if(Future.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_CALLBACK; } return MEP.REQUEST_RESPONSE; }
Example 11
Source File: WSDLGenerator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Generates the parameterOrder for a PortType operation * @param operation The operation to generate the parameterOrder for * @param method The {@link JavaMethod} to generate the parameterOrder from */ protected void generateParameterOrder(Operation operation, JavaMethodImpl method) { if (method.getMEP() == MEP.ONE_WAY) return; if (isRpcLit(method)) generateRpcParameterOrder(operation, method); else generateDocumentParameterOrder(operation, method); }
Example 12
Source File: RuntimeModeler.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private MEP getMEP(Method m){ if (getAnnotation(m, Oneway.class)!= null) { return MEP.ONE_WAY; } if(Response.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_POLL; }else if(Future.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_CALLBACK; } return MEP.REQUEST_RESPONSE; }
Example 13
Source File: WSDLGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Generates the parameterOrder for a PortType operation * @param operation The operation to generate the parameterOrder for * @param method The {@link JavaMethod} to generate the parameterOrder from */ protected void generateParameterOrder(Operation operation, JavaMethodImpl method) { if (method.getMEP() == MEP.ONE_WAY) return; if (isRpcLit(method)) generateRpcParameterOrder(operation, method); else generateDocumentParameterOrder(operation, method); }
Example 14
Source File: RuntimeModeler.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private MEP getMEP(Method m){ if (getAnnotation(m, Oneway.class)!= null) { return MEP.ONE_WAY; } if(Response.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_POLL; }else if(Future.class.isAssignableFrom(m.getReturnType())){ return MEP.ASYNC_CALLBACK; } return MEP.REQUEST_RESPONSE; }
Example 15
Source File: JavaMethodImpl.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
/** * @return soap:Body's first child name for response message. */ public @Nullable QName getResponsePayloadName() { return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName(); }
Example 16
Source File: JavaMethodImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
/** * @return soap:Body's first child name for response message. */ public @Nullable QName getResponsePayloadName() { return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName(); }
Example 17
Source File: JavaMethodImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
/** * @return soap:Body's first child name for response message. */ public @Nullable QName getResponsePayloadName() { return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName(); }
Example 18
Source File: JavaMethodImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
/** * @return soap:Body's first child name for response message. */ public @Nullable QName getResponsePayloadName() { return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName(); }
Example 19
Source File: JavaMethodImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
/** * @return soap:Body's first child name for response message. */ public @Nullable QName getResponsePayloadName() { return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName(); }
Example 20
Source File: JavaMethodImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
/** * @return soap:Body's first child name for response message. */ public @Nullable QName getResponsePayloadName() { return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName(); }