|
Apache CXF example source code file (cxf-extension-policy.xml)
The Apache CXF cxf-extension-policy.xml source code
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="org.apache.cxf.ws.policy.AssertionBuilderRegistry"
class="org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl" lazy-init="true">
<constructor-arg ref="cxf"/>
<constructor-arg>
<bean class="org.apache.cxf.configuration.spring.SpringBeanQNameMap">
<property name="type" value="org.apache.cxf.ws.policy.AssertionBuilder"/>
<property name="idsProperty" value="knownElements"/>
<property name="staticFieldName" value="KNOWN_ELEMENTS"/>
</bean>
</constructor-arg>
</bean>
<bean id="org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry"
class="org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistryImpl"
lazy-init="true">
<constructor-arg ref="cxf"/>
<constructor-arg>
<bean class="org.apache.cxf.configuration.spring.SpringBeanQNameMap">
<property name="type" value="org.apache.cxf.ws.policy.PolicyInterceptorProvider"/>
<property name="idsProperty" value="assertionTypes"/>
<property name="staticFieldName" value="ASSERTION_TYPES"/>
</bean>
</constructor-arg>
</bean>
<bean id="org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry"
class="org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry"
lazy-init="true">
<constructor-arg>
<bean class="org.apache.cxf.configuration.spring.SpringBeanQNameMap">
<property name="type" value="org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilder"/>
<property name="idsProperty" value="domainExpressionTypes"/>
</bean>
</constructor-arg>
</bean>
<bean class="org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder"
id="org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder"
lazy-init="true"/>
<bean id="org.apache.cxf.ws.policy.PolicyBuilder"
class="org.apache.cxf.ws.policy.PolicyBuilderImpl"
lazy-init="true">
<property name="bus" ref="cxf"/>
<property name="assertionBuilderRegistry" ref="org.apache.cxf.ws.policy.AssertionBuilderRegistry"/>
</bean>
<bean id="org.apache.cxf.ws.policy.PolicyEngine"
class="org.apache.cxf.ws.policy.PolicyEngineImpl"
lazy-init="false">
<!--
cannot be lazy init as it needs to add functionality to the bus
that would query the above beans as needed if policies are
found
-->
<constructor-arg ref="cxf"/>
</bean>
<bean class="org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider"
id="org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider"
lazy-init="true">
<constructor-arg ref="cxf"/>
</bean>
<bean class="org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider"
id="org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider"
lazy-init="true">
<constructor-arg ref="cxf"/>
</bean>
<!-- MTOM Policy Support -->
<bean class="org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder"
id="org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder"
lazy-init="true"/>
<bean class="org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider"
id="org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider"
lazy-init="true"/>
</beans>
Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF cxf-extension-policy.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.