Examples of GrailsCxfEndpoint


Examples of org.grails.cxf.utils.GrailsCxfEndpoint

    public Map<String, Object> getProperties() {
        return properties;
    }

    protected void setupProperties(){
        GrailsCxfEndpoint annotation = getClazz().getAnnotation(GrailsCxfEndpoint.class);
        if(annotation != null && annotation.properties().length > 0) {
            for(GrailsCxfEndpointProperty prop : annotation.properties()){
                properties.put(prop.name(), prop.value());
            }
            log.debug("Endpoint [" + getFullName() + "] configured to use properties " + properties + ".");
        }
    }
View Full Code Here

Examples of org.grails.cxf.utils.GrailsCxfEndpoint

            log.debug("Endpoint [" + getFullName() + "] configured to use properties " + properties + ".");
        }
    }

    protected void setupInterceptors() {
        GrailsCxfEndpoint annotation = getClazz().getAnnotation(GrailsCxfEndpoint.class);
        if(annotation != null) {
            inInterceptors = setupInterceptorsViaAnnotation("inInterceptors", annotation.inInterceptors());
            outInterceptors = setupInterceptorsViaAnnotation("outInterceptors", annotation.outInterceptors());
            inFaultInterceptors = setupInterceptorsViaAnnotation("inFaultInterceptors", annotation.inFaultInterceptors());
            outFaultInterceptors = setupInterceptorsViaAnnotation("outFaultInterceptors", annotation.outFaultInterceptors());
        }
    }
View Full Code Here

Examples of org.grails.cxf.utils.GrailsCxfEndpoint

    }

    protected void setupAddress() {
        address = "/" + getNameNoPostfix();

        GrailsCxfEndpoint annotation = getClazz().getAnnotation(GrailsCxfEndpoint.class);
        if(annotation != null && !annotation.address().equals("")) {
            setupAddressViaAnnotation(annotation);
        } else {
            setupAddressViaProperty();
        }
View Full Code Here

Examples of org.grails.cxf.utils.GrailsCxfEndpoint

    }

    protected void setupExpose() {
        expose = EndpointExposureType.JAX_WS; // Default to the most common type.

        GrailsCxfEndpoint annotation = getClazz().getAnnotation(GrailsCxfEndpoint.class);
        if(annotation != null) {
            setupExposeViaAnnotation(annotation);
        } else {
            setupExposeViaProperty();
        }
View Full Code Here

Examples of org.grails.cxf.utils.GrailsCxfEndpoint

        return manualExpose;
    }

    protected void buildExclusionSet() {
        final Set<String> groovyExcludes = DEFAULT_GROOVY_EXCLUDES;
        GrailsCxfEndpoint annotation = getClazz().getAnnotation(GrailsCxfEndpoint.class);
        Set<String> aggExcludes = new HashSet<String>();

        List<String> automaticExcludes = buildAutomaticExcludes();

        aggExcludes.addAll(groovyExcludes);
        aggExcludes.addAll(automaticExcludes);

        if(annotation != null && annotation.excludes().length > 0) {
            buildExclusionSetFromAnnotation(aggExcludes, annotation);
        } else {
            buildExclusionSetFromProperty(aggExcludes);
        }
View Full Code Here

Examples of org.grails.cxf.utils.GrailsCxfEndpoint

        log.debug("Endpoint [" + getFullName() + "] configured to servlet [" + servletName + "].");
    }

    protected void findWsdl() {
        String wsdlLocation = null;
        GrailsCxfEndpoint annotation = getClazz().getAnnotation(GrailsCxfEndpoint.class);

        if(annotation != null && !annotation.wsdl().equals("")) {
            wsdlLocation = annotation.wsdl();
        } else {
            wsdlLocation = (String) getPropertyOrStaticPropertyOrFieldValue(PROP_WSDL, String.class);
        }

        if(wsdlLocation != null && !wsdlLocation.equals("")) {
View Full Code Here

Examples of org.grails.cxf.utils.GrailsCxfEndpoint

    }

    protected void setupSoap12Binding() {
        soap12 = GrailsCxfUtils.getDefaultSoap12Binding();

        GrailsCxfEndpoint annotation = getClazz().getAnnotation(GrailsCxfEndpoint.class);

        if(annotation != null) {
            setupSoap12BindingViaAnnotation(annotation);
        } else {
            setupSoap12BindingViaProperty();
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.