All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.spring.extensible-beans.xml Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Unless explicitly acquired and licensed from Licensor under another license, the contents of
    this file are subject to the Reciprocal Public License ("RPL") Version 1.5, or subsequent
    versions as allowed by the RPL, and You may not copy or use this file in either source code
    or executable form, except in compliance with the terms and conditions of the RPL

    All software distributed under the RPL is provided strictly on an "AS IS" basis, WITHOUT
    WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, AND LICENSOR HEREBY DISCLAIMS ALL SUCH
    WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
    PARTICULAR PURPOSE, QUIET ENJOYMENT, OR NON-INFRINGEMENT. See the RPL for specific language
    governing rights and limitations under the RPL.

    http://opensource.org/licenses/RPL-1.5

    Copyright 2012-2015 Open Justice Broker Consortium

-->

<!-- Configures beans intended to be overriden -->


<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:util="http://www.springframework.org/schema/util"  
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="
       http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
       "    
       >
	<!-- Component scan the web.impl package that contains the Detail Query Dispatcher -->
	<!-- and they query packages containing the detail query implementations -->
	<!-- This allows the application to optionally wire the detail query beans in this use case where a profile is not active -->
	<context:annotation-config />
    <context:component-scan base-package="org.ojbc.web.impl, org.ojbc.processor.person.query" />
	
	<!-- The detail query dispatcher only injects beans that are needed by the implementer -->
	<bean id="detailQueryDispatcher" class="org.ojbc.web.impl.DetailQueryDispatcher"/>	
       
    <util:map id="searchURIToQueryURIMap">
    	<!-- PERSON SEARCH DETAIL QUERIES -->
    	<!-- Person Warrants -->
    	<entry key="{http://ojbc.org/Services/WSDL/Person_Search_Request_Service/Warrants/1.0}Submit-Person-Search---Warrants">
			<util:constant static-field="org.ojbc.web.OJBCWebServiceURIs.WARRANTS" />
		</entry>
		
		<!-- Person Criminal History -->
    	<entry key ="{http://ojbc.org/Services/WSDL/Person_Search_Request_Service/Criminal_History/1.0}Submit-Person-Search---Criminal-History">
			<util:constant static-field="org.ojbc.web.OJBCWebServiceURIs.CRIMINAL_HISTORY" />
		</entry>
		
		<!-- Person Firearms -->
    	<entry key="{http://ojbc.org/Services/WSDL/Person_Search_Request_Service/Firearms/1.0}Submit-Person-Search---Firearms">
			<util:constant static-field="org.ojbc.web.OJBCWebServiceURIs.FIREARMS_QUERY_REQUEST_BY_PERSON" />
		</entry>
		
		<!-- Person Vehicle Crash -->
    	<entry key="{http://ojbc.org/Services/WSDL/PersonSearchRequestService/1.0}SubmitPersonSearchRequest-Vehicle-Crash">
			<util:constant static-field="org.ojbc.web.OJBCWebServiceURIs.VEHICLE_CRASH" />
		</entry>
		
		<!-- Person to Incident list, not supported by static mock adapter --> 
		<entry key="{http://ojbc.org/Services/WSDL/PersonSearchRequestService/1.0}SubmitPersonSearchRequest-RMS" value="{http://ojbc.org/Services/WSDL/IncidentSearchRequestService/1.0}SubmitIncidentPersonSearchRequest-RMS"/>
		
		<!-- Juvenile History detail --> 
		<entry key="{http://ojbc.org/Services/WSDL/PersonSearchRequestService/1.0}SubmitPersonSearchRequest-JuvenileHistory" 
			value="{http://ojbc.org/Services/WSDL/JuvenileHistoryRequest/1.0}Person-Query-Service-JuvenileHistory"/>
		
		<!-- Court Case search --> 
		<entry key="{http://ojbc.org/Services/WSDL/PersonSearchRequestService/1.0}SubmitPersonSearchRequest-Court" 
			value="{http://ojbc.org/Services/WSDL/CourtCaseSearchRequestService/1.0}SubmitCourtCaseSearchRequest"/>
		
		<!-- Court Case detail --> 
		<entry key="{http://ojbc.org/Services/WSDL/CourtCaseSearchRequestService/1.0}SubmitCourtCaseSearchRequest" 
			value="{http://ojbc.org/Services/WSDL/Court_Case_Query_Request_Service/1.0}/SubmitCourtCaseQueryRequest"/>
		
		<!-- Jail Custody History detail --> 
		<entry key="{http://ojbc.org/Services/WSDL/CustodySearchRequestService/1.0}SubmitCustodySearchRequest" 
			value="{http://ojbc.org/Services/WSDL/Custody_Query_Request_Service/1.0}SubmitCustodyQueryRequest"/>
		
		<!-- Jail Custody History search --> 
		<entry key="{http://ojbc.org/Services/WSDL/PersonSearchRequestService/1.0}SubmitPersonSearchRequest-Jail" 
			value="{http://ojbc.org/Services/WSDL/CustodySearchRequestService/1.0}SubmitCustodySearchRequest"/>
		
		<!-- Incident List (person) to Incident Detail -->		
		<entry key="{http://ojbc.org/Services/WSDL/IncidentSearchRequestService/1.0}SubmitIncidentPersonSearchRequest-RMS"
			value="{http://ojbc.org/Services/WSDL/IncidentReportRequestService/1.0}SubmitIncidentIdentiferIncidentReportRequest-RMS"/>
		
		<!-- INCIDENT SEARCH DETAIL QUERIES -->
		<!-- Incident Search to Incident Detail -->		
		<entry key="{http://ojbc.org/Services/WSDL/IncidentSearchRequestService/1.0}SubmitIncidentSearchRequest-RMS" value="{http://ojbc.org/Services/WSDL/IncidentReportRequestService/1.0}SubmitIncidentIdentiferIncidentReportRequest-RMS"/>
		
		<!-- FIREARMS SEARCH DETAIL QUERIES -->
		<!-- Firearms Search to Firearms Detail -->
		<entry key="{http://ojbc.org/Services/WSDL/FirearmSearchRequestService/1.0}SubmitFirearmSearchRequest">
			<util:constant static-field="org.ojbc.web.OJBCWebServiceURIs.FIREARMS_QUERY_REQUEST_BY_FIREARM" />
		</entry>

		<!-- VEHICLE SEARCH DETAIL QUERIES -->
		<!-- Vehicle Search to Incident list, not supported by static mock adapter-->
		<entry key="{http://ojbc.org/Services/WSDL/VehicleSearchRequestService/1.0}SubmitVehicleSearchRequest-RMS" value="{http://ojbc.org/Services/WSDL/IncidentSearchRequestService/1.0}SubmitIncidentVehicleSearchRequest-RMS"/>
    </util:map>   
        
       
	<!-- To override or add beans, add beans to a beans/web-connector-extension-beans.xml in the ojb-web-external-resource project -->
	<!-- To override a bean, use the same bean ID as in the provided context -->
	<!-- To activate the beans, you must specify the extension-beans profile -->
	
	<beans profile="ojb-web-connector-extension-beans">
		<import resource="classpath:ojbc-web-application-connector-extension-beans.xml"/>
	</beans>
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy