Examples of PolicyDataEngine


Examples of org.apache.cxf.policy.PolicyDataEngine

     *
     * wsdl extensors are superseded by policies which in
     * turn are superseded by injection
     */
    private void updateClientPolicy() {
        PolicyDataEngine policyEngine = bus.getExtension(PolicyDataEngine.class);
        if (policyEngine != null && endpointInfo.getService() != null) {
            clientSidePolicy = policyEngine.getClientEndpointPolicy(endpointInfo,
                                                                    this, new ClientPolicyCalculator());
        }
    }
View Full Code Here

Examples of org.apache.cxf.policy.PolicyDataEngine

            pol = cpc.intersect(pol, clientSidePolicy);
        } else {
            pol = clientSidePolicy;
        }

        PolicyDataEngine policyDataEngine = bus.getExtension(PolicyDataEngine.class);
        if (policyDataEngine == null) {
            return pol;
        }
        return policyDataEngine.getPolicy(message, pol, cpc);
    }
View Full Code Here

Examples of org.apache.cxf.policy.PolicyDataEngine

            }
        }
    }
   
    public void assertMessage(Message message) {
        PolicyDataEngine policyDataEngine = bus.getExtension(PolicyDataEngine.class);
        policyDataEngine.assertMessage(message, getClient(), new ClientPolicyCalculator());
    }
View Full Code Here

Examples of org.apache.cxf.policy.PolicyDataEngine

        HttpServletResponse response = (HttpServletResponse)inMessage.get(HTTP_RESPONSE);
        return new BackChannelConduit(response);
    }

    private void initConfig() {
        PolicyDataEngine pde = bus.getExtension(PolicyDataEngine.class);
        if (pde != null) {
            server = pde.getServerEndpointPolicy(endpointInfo, this, new ServerPolicyCalculator());
        }
        if (null == server && WSDLLibrary.isAvailable()) {
            server = endpointInfo.getTraversedExtensor(
                    new HTTPServerPolicy(), HTTPServerPolicy.class);
        }
View Full Code Here

Examples of org.apache.cxf.policy.PolicyDataEngine

    public void setServer(HTTPServerPolicy server) {
        this.server = server;
    }
   
    public void assertMessage(Message message) {
        PolicyDataEngine pde = bus.getExtension(PolicyDataEngine.class);
        pde.assertMessage(message, server, new ServerPolicyCalculator());
    }
View Full Code Here

Examples of org.apache.cxf.policy.PolicyDataEngine

        HttpServletResponse response = (HttpServletResponse)inMessage.get(HTTP_RESPONSE);
        return new BackChannelConduit(response);
    }

    private void initConfig() {
        PolicyDataEngine pde = bus.getExtension(PolicyDataEngine.class);
        if (pde != null) {
            server = pde.getServerEndpointPolicy(endpointInfo, this, new ServerPolicyCalculator());
        }
        if (null == server && WSDLLibrary.isAvailable()) {
            server = endpointInfo.getTraversedExtensor(
                    new HTTPServerPolicy(), HTTPServerPolicy.class);
        }
View Full Code Here

Examples of org.apache.cxf.policy.PolicyDataEngine

    public void setServer(HTTPServerPolicy server) {
        this.server = server;
    }
   
    public void assertMessage(Message message) {
        PolicyDataEngine pde = bus.getExtension(PolicyDataEngine.class);
        pde.assertMessage(message, server, new ServerPolicyCalculator());
    }
View Full Code Here

Examples of org.apache.cxf.policy.PolicyDataEngine

     *
     * wsdl extensors are superseded by policies which in
     * turn are superseded by injection
     */
    private void updateClientPolicy() {
        PolicyDataEngine policyEngine = bus.getExtension(PolicyDataEngine.class);
        if (policyEngine != null && endpointInfo.getService() != null) {
            clientSidePolicy = policyEngine.getClientEndpointPolicy(endpointInfo,
                                                                    this, new ClientPolicyCalculator());
        }
    }
View Full Code Here

Examples of org.apache.cxf.policy.PolicyDataEngine

        HTTPClientPolicy messagePol = message.get(HTTPClientPolicy.class);
        if (messagePol != null) {
            return cpc.intersect(messagePol, clientSidePolicy);
        }

        PolicyDataEngine policyDataEngine = bus.getExtension(PolicyDataEngine.class);
        if (policyDataEngine == null) {
            return clientSidePolicy;
        }
        return policyDataEngine.getPolicy(message, clientSidePolicy, cpc);
    }
View Full Code Here

Examples of org.apache.cxf.policy.PolicyDataEngine

            }
        }
    }
   
    public void assertMessage(Message message) {
        PolicyDataEngine policyDataEngine = bus.getExtension(PolicyDataEngine.class);
        policyDataEngine.assertMessage(message, getClient(), new ClientPolicyCalculator());
    }
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.