com.sun.xml.internal.ws.api.model.MEP Java Examples

The following examples show how to use com.sun.xml.internal.ws.api.model.MEP. 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: WSDLGenerator.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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 #2
Source File: RuntimeModeler.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
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 openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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: WSDLGenerator.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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 #5
Source File: RuntimeModeler.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
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 #6
Source File: RuntimeModeler.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
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 hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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: WSDLGenerator.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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 #9
Source File: RuntimeModeler.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
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 #10
Source File: RuntimeModeler.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
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 vote down vote up
/**
 * 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 vote down vote up
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 openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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: WSDLGenerator.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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 #15
Source File: RuntimeModeler.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
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 #16
Source File: RuntimeModeler.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
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 #17
Source File: JavaMethodImpl.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @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 openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return Returns the mep.
 */
public MEP getMEP() {
    return mep;
}
 
Example #19
Source File: JavaMethodImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return Returns the mep.
 */
public MEP getMEP() {
    return mep;
}
 
Example #20
Source File: JavaMethodImpl.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return soap:Body's first child name for response message.
 */
public @Nullable QName getResponsePayloadName() {
    return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName();
}
 
Example #21
Source File: JavaMethodImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return soap:Body's first child name for response message.
 */
public @Nullable QName getResponsePayloadName() {
    return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName();
}
 
Example #22
Source File: JavaMethodImpl.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return Returns the mep.
 */
public MEP getMEP() {
    return mep;
}
 
Example #23
Source File: JavaMethodImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return Returns the mep.
 */
public MEP getMEP() {
    return mep;
}
 
Example #24
Source File: JavaMethodImpl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return Returns the mep.
 */
public MEP getMEP() {
    return mep;
}
 
Example #25
Source File: JavaMethodImpl.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return soap:Body's first child name for response message.
 */
public @Nullable QName getResponsePayloadName() {
    return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName();
}
 
Example #26
Source File: JavaMethodImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return soap:Body's first child name for response message.
 */
public @Nullable QName getResponsePayloadName() {
    return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName();
}
 
Example #27
Source File: JavaMethodImpl.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return Returns the mep.
 */
public MEP getMEP() {
    return mep;
}
 
Example #28
Source File: JavaMethodImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return Returns the mep.
 */
public MEP getMEP() {
    return mep;
}
 
Example #29
Source File: JavaMethodImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return soap:Body's first child name for response message.
 */
public @Nullable QName getResponsePayloadName() {
    return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName();
}
 
Example #30
Source File: JavaMethodImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @return soap:Body's first child name for response message.
 */
public @Nullable QName getResponsePayloadName() {
    return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName();
}