Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
- xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
- xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:jaxws="http://cxf.apache.org/blueprint/jaxws"
- xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs"
- xmlns:cxf="http://cxf.apache.org/blueprint/core"
- xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
- http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0 http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0
- http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0 http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0
- http://cxf.apache.org/blueprint/jaxws http://cxf.apache.org/schemas/blueprint/jaxws.xsd
- http://cxf.apache.org/blueprint/jaxrs http://cxf.apache.org/schemas/blueprint/jaxrs.xsd
- http://cxf.apache.org/blueprint/core http://cxf.apache.org/schemas/blueprint/core.xsd">
- <cxf:bus>
- <cxf:features>
- <cxf:logging />
- </cxf:features>
- </cxf:bus>
- <reference id="salesOrderRawRepo" interface="id.co.bippo.sales.order.hand.SalesOrderRawRepository"/>
- <bean id="salesOrderRs" class="id.co.bippo.sales.order.rs.hand.SalesOrderResource">
- <argument ref="salesOrderRawRepo"/>
- </bean>
- <reference id="jacksonMapperFactory" interface="com.google.common.base.Supplier"
- filter="(className=com.fasterxml.jackson.databind.ObjectMapper)"/>
- <jaxrs:server id="apiRs" address="/api">
- <jaxrs:providers>
- <bean class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider"/>
- <bean class="org.soluvas.jaxrs.Jackson2ContextResolver">
- <argument ref="jacksonMapperFactory"/>
- </bean>
- </jaxrs:providers>
- <jaxrs:serviceBeans>
- <ref component-id="salesOrderRs" />
- <bean class="id.co.bippo.sales.order.rs.hand.PersonResource"/>
- </jaxrs:serviceBeans>
- </jaxrs:server>
- </blueprint>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement