Package org.jboss.ws.api.annotation

Examples of org.jboss.ws.api.annotation.WebContext.transportGuarantee()


     * @param endpoint EJB webservice endpoint
     * @return transport guarantee or null if not specified
     */
    public String getTransportGuarantee(final Endpoint endpoint) {
        final WebContext webContext = this.getWebContextAnnotation(endpoint);
        final boolean hasTransportGuarantee = (webContext != null) && (webContext.transportGuarantee().length() > 0);

        return hasTransportGuarantee ? webContext.transportGuarantee() : super.getTransportGuarantee(endpoint);
    }

    /**
 
View Full Code Here


     */
    public String getTransportGuarantee(final Endpoint endpoint) {
        final WebContext webContext = this.getWebContextAnnotation(endpoint);
        final boolean hasTransportGuarantee = (webContext != null) && (webContext.transportGuarantee().length() > 0);

        return hasTransportGuarantee ? webContext.transportGuarantee() : super.getTransportGuarantee(endpoint);
    }

    /**
     * Gets <b>WebContext</b> if associated with EJB endpoint.
     *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.