Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005-2013 The Kuali Foundation

    Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php

    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"
       xmlns:p="http://www.springframework.org/schema/p"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:beans="http://www.springframework.org/schema/beans"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:jdbc="http://www.springframework.org/schema/jdbc"
       xmlns:jee="http://www.springframework.org/schema/jee"
       xmlns:jms="http://www.springframework.org/schema/jms"
       xmlns:lang="http://www.springframework.org/schema/lang"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xmlns:oxm="http://www.springframework.org/schema/oxm"
       xmlns:task="http://www.springframework.org/schema/task"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="http://www.springframework.org/schema/aop
                           http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
                           http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
                           http://www.springframework.org/schema/context
                           http://www.springframework.org/schema/context/spring-context-3.0.xsd
                           http://www.springframework.org/schema/jdbc
                           http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
                           http://www.springframework.org/schema/jee
                           http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
                           http://www.springframework.org/schema/jms
                           http://www.springframework.org/schema/jms/spring-jms-3.0.xsd
                           http://www.springframework.org/schema/lang
                           http://www.springframework.org/schema/lang/spring-lang-3.0.xsd
                           http://www.springframework.org/schema/mvc
                           http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
                           http://www.springframework.org/schema/oxm
                           http://www.springframework.org/schema/oxm/spring-oxm-3.0.xsd
                           http://www.springframework.org/schema/task
                           http://www.springframework.org/schema/task/spring-task-3.0.xsd
                           http://www.springframework.org/schema/tx
                           http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
                           http://www.springframework.org/schema/util
                           http://www.springframework.org/schema/util/spring-util-3.0.xsd">

    <bean id="kradApplicationModuleConfiguration" parent="kradApplicationModuleConfiguration-parentBean">
         <property name="dataDictionaryPackages">
			<list merge="true">
               <value>classpath:org/kuali/rice/kns/bo/datadictionary/DataDictionaryBaseTypes.xml</value>
            </list>
         </property>
          <property name="packagePrefixes">
            <list merge="true">
                <value>org.kuali.rice.kns.</value>
            </list>
        </property>
    </bean>

    <bean id="maintenanceDocumentDictionaryService" class="org.kuali.rice.kns.service.impl.MaintenanceDocumentDictionaryServiceImpl">
		<property name="dataDictionaryService">
			<ref bean="dataDictionaryService" />
		</property>
	</bean>

    <bean id="transactionalDocumentDictionaryService" class="org.kuali.rice.kns.service.impl.TransactionalDocumentDictionaryServiceImpl">
		<property name="dataDictionaryService">
			<ref bean="dataDictionaryService" />
		</property>
	</bean>

	<bean id="kualiInquirable" class="org.kuali.rice.kns.inquiry.KualiInquirableImpl" scope="prototype"/>

  <bean id="kualiMaintainable" class="org.kuali.rice.kns.maintenance.KualiMaintainableImpl" scope="prototype">
        <property name="persistenceStructureService">
            <ref bean="persistenceStructureService" />
        </property>
        <property name="maintenanceDocumentDictionaryService">
            <ref bean="maintenanceDocumentDictionaryService" />
        </property>
        <property name="dataDictionaryService">
            <ref bean="dataDictionaryService" />
        </property>
        <property name="businessObjectService">
            <ref bean="businessObjectService" />
        </property>
        <property name="businessObjectDictionaryService">
            <ref bean="businessObjectDictionaryService" />
        </property>
        <property name="encryptionService">
            <ref bean="encryptionService" />
        </property>
        <property name="businessObjectMetaDataService">
            <ref bean="businessObjectMetaDataService" />
        </property>
        <property name="businessObjectAuthorizationService">
            <ref bean="businessObjectAuthorizationService" />
        </property>
        <property name="maintenanceDocumentService">
            <ref bean="maintenanceDocumentService" />
        </property>
        <property name="documentHelperService">
            <ref bean="documentHelperService" />
        </property>
        <property name="lookupService">
            <ref bean="lookupService" />
        </property>
    </bean>

    <bean id="knsSessionDocumentService" class="org.kuali.rice.kns.service.impl.NoOpSessionDocumentServiceImpl" />

    <bean id="knsDictionaryValidationService" class="org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl">
		<property name="dataDictionaryService">
			<ref bean="dataDictionaryService" />
		</property>
		<property name="businessObjectService">
			<ref bean="businessObjectService" />
		</property>
		<property name="documentDictionaryService">
			<ref bean="documentDictionaryService" />
		</property>
		<property name="persistenceService">
			<ref bean="persistenceService" />
		</property>
		<property name="persistenceStructureService">
			<ref bean="persistenceStructureService"/>
		</property>
		<!-- Collection constraint processors are classes that determine if a feature of a collection of objects satisfies some constraint -->
		<property name="collectionConstraintProcessors">
			<list>
				<bean class="org.kuali.rice.krad.datadictionary.validation.processor.CollectionSizeConstraintProcessor"/>
			</list>
		</property>
		<!-- Element constraint processors are classes that determine if a passed value is valid for a specific constraint at the individual object or object attribute level
		The order matters here because case adds additional constraints to the queue for other processors to pick up-->
		<property name="elementConstraintProcessors">
			<list>
				<bean class="org.kuali.rice.krad.datadictionary.validation.processor.CaseConstraintProcessor"
					parent="mandatoryElementConstraintProcessor"/>
        <bean class="org.kuali.rice.krad.datadictionary.validation.processor.SimpleConstraintProcessor"
          parent="mandatoryElementConstraintProcessor"/>
				<bean class="org.kuali.rice.krad.datadictionary.validation.processor.ExistenceConstraintProcessor"/>
				<bean class="org.kuali.rice.krad.datadictionary.validation.processor.DataTypeConstraintProcessor"
					parent="mandatoryElementConstraintProcessor"/>
				<bean class="org.kuali.rice.krad.datadictionary.validation.processor.RangeConstraintProcessor"
					parent="mandatoryElementConstraintProcessor"/>
				<bean class="org.kuali.rice.krad.datadictionary.validation.processor.LengthConstraintProcessor"
					parent="mandatoryElementConstraintProcessor"/>
				<bean class="org.kuali.rice.krad.datadictionary.validation.processor.ValidCharactersConstraintProcessor"
					parent="mandatoryElementConstraintProcessor"/>
				<bean class="org.kuali.rice.krad.datadictionary.validation.processor.PrerequisiteConstraintProcessor"
					parent="mandatoryElementConstraintProcessor"/>
				<bean class="org.kuali.rice.krad.datadictionary.validation.processor.MustOccurConstraintProcessor"
					parent="mandatoryElementConstraintProcessor"/>
			</list>
		</property>
		<!-- Constraint providers are classes that map specific constraint types to a constraint resolver, which takes a constrainable definition -->
		<property name="constraintProviders">
			<list>
				<bean class="org.kuali.rice.krad.datadictionary.validation.constraint.provider.AttributeDefinitionConstraintProvider">
					<!--
						individual constraint resolvers can be injected as a map keyed by constraint type as string, or the default
						resolvers can be instantiated into the map by adding 'init-method="init"' to the bean declaration above
					-->
					<property name="resolverMap">
						<map>
              <entry key="org.kuali.rice.krad.datadictionary.validation.constraint.SimpleConstraint">
                <ref bean="dictionaryValidationSimpleConstraintResolver"/>
              </entry>
							<entry key="org.kuali.rice.krad.datadictionary.validation.constraint.CaseConstraint">
								<ref bean="dictionaryValidationCaseConstraintResolver"/>
							</entry>
							<entry key="org.kuali.rice.krad.datadictionary.validation.constraint.ExistenceConstraint">
								<ref bean="dictionaryValidationDefinitionConstraintResolver"/>
							</entry>
							<entry key="org.kuali.rice.krad.datadictionary.validation.constraint.DataTypeConstraint">
								<ref bean="dictionaryValidationDefinitionConstraintResolver"/>
							</entry>
							<entry key="org.kuali.rice.krad.datadictionary.validation.constraint.LengthConstraint">
								<ref bean="dictionaryValidationDefinitionConstraintResolver"/>
							</entry>
							<entry key="org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint">
								<ref bean="dictionaryValidationValidCharactersConstraintResolver"/>
							</entry>
							<entry key="org.kuali.rice.krad.datadictionary.validation.constraint.PrerequisiteConstraint">
								<ref bean="dictionaryValidationPrerequisiteConstraintsResolver"/>
							</entry>
							<entry key="org.kuali.rice.krad.datadictionary.validation.constraint.MustOccurConstraint">
								<ref bean="dictionaryValidationMustOccurConstraintsResolver"/>
							</entry>
							<entry key="org.kuali.rice.krad.datadictionary.validation.constraint.CollectionSizeConstraint">
								<ref bean="dictionaryValidationDefinitionConstraintResolver"/>
							</entry>
						</map>
					</property>
				</bean>
				<bean class="org.kuali.rice.krad.datadictionary.validation.constraint.provider.ComplexAttributeDefinitionConstraintProvider"/>
				<bean class="org.kuali.rice.krad.datadictionary.validation.constraint.provider.DataObjectEntryConstraintProvider">
					<!--
						individual constraint resolvers can be injected as a map keyed by constraint type as string, or the default
						resolvers can be instantiated into the map by adding 'init-method="init"' to the bean declaration above
					-->
					<property name="resolverMap">
						<map>
							<entry key="org.kuali.rice.krad.datadictionary.validation.constraint.MustOccurConstraint">
								<ref bean="dictionaryValidationMustOccurConstraintsResolver"/>
							</entry>
						</map>
					</property>
				</bean>
			</list>
		</property>
	</bean>

  <bean id="dataDictionaryService" parent="dataDictionaryService-parent" />

  <bean id="dataDictionaryService-parent" class="org.kuali.rice.kns.service.impl.DataDictionaryServiceImpl" scope="singleton">
    <property name="kualiConfigurationService" ref="kualiConfigurationService"/>
    <property name="kualiModuleService" ref="kualiModuleService"/>
    <property name="baselinePackages">
      <list>
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/DataDictionaryBaseTypes.xml</value>
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/AdHocRoutePerson.xml</value>
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/AdHocRouteWorkgroup.xml</value>
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/Attachment.xml</value>
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/AttributeReferenceDummy.xml</value>
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/AttributeReferenceElements.xml</value>
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/BusinessObjectAttributeEntry.xml</value>
        <!--<value>classpath:org/kuali/rice/location/web/campus/Campus.xml</value>-->
        <!--<value>classpath:org/kuali/rice/location/web/campus/CampusType.xml</value>-->
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/DocumentHeader.xml</value>
        <!--<value>classpath:org/kuali/rice/location/web/country/Country.xml</value>-->
        <!--<value>classpath:org/kuali/rice/location/web/county/County.xml</value>-->
        <!--<value>classpath:org/kuali/rice/location/web/state/State.xml</value>-->
        <!--<value>classpath:org/kuali/rice/location/web/postalcode/PostalCode.xml</value>-->

        <value>classpath:org/kuali/rice/coreservice/web/namespace/Namespace.xml</value>
        <value>classpath:org/kuali/rice/coreservice/web/parameter/ParameterType.xml</value>
        <value>classpath:org/kuali/rice/coreservice/web/component/Component.xml</value>
        <value>classpath:org/kuali/rice/coreservice/web/parameter/Parameter.xml</value>

        <value>classpath:org/kuali/rice/krad/bo/datadictionary/PessimisticLock.xml</value>
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/Note.xml</value>
        <value>classpath:org/kuali/rice/krad/bo/datadictionary/NoteType.xml</value>

        <value>classpath:org/kuali/rice/coreservice/web/namespace/NamespaceMaintenanceDocument.xml</value>
        <value>classpath:org/kuali/rice/coreservice/web/parameter/ParameterTypeMaintenanceDocument.xml</value>
        <value>classpath:org/kuali/rice/coreservice/web/component/ComponentMaintenanceDocument.xml</value>
        <value>classpath:org/kuali/rice/coreservice/web/parameter/ParameterMaintenanceDocument.xml</value>

        <value>classpath:org/kuali/rice/core/web/cache/CacheAdmin.xml</value>

        <value>classpath:org/kuali/rice/location/web/campus/CampusMaintenanceDocument.xml</value>
        <value>classpath:org/kuali/rice/location/web/campus/CampusTypeMaintenanceDocument.xml</value>
        <value>classpath:org/kuali/rice/location/web/country/CountryMaintenanceDocument.xml</value>
        <value>classpath:org/kuali/rice/location/web/county/CountyMaintenanceDocument.xml</value>
        <value>classpath:org/kuali/rice/location/web/state/StateMaintenanceDocument.xml</value>
        <value>classpath:org/kuali/rice/location/web/postalcode/PostalCodeMaintenanceDocument.xml</value>
        <value>classpath:org/kuali/rice/krad/uif/UifControlDefinitions.xml</value>
        <value>classpath:org/kuali/rice/krad/uif/UifFieldDefinitions.xml</value>
        <value>classpath:org/kuali/rice/krad/uif/UifGroupDefinitions.xml</value>
        <value>classpath:org/kuali/rice/krad/uif/UifHeaderFooterDefinitions.xml</value>
        <value>classpath:org/kuali/rice/krad/uif/UifLayoutManagerDefinitions.xml</value>
        <value>classpath:org/kuali/rice/krad/uif/UifWidgetDefinitions.xml</value>
        <value>classpath:org/kuali/rice/krad/uif/UifViewPageDefinitions.xml</value>
        <value>classpath:org/kuali/rice/kns/bo/datadictionary/DataDictionaryBaseTypes.xml</value>
      </list>
    </property>
  </bean>

  <bean id="kualiLookupable" class="org.kuali.rice.kns.lookup.KualiLookupableImpl" scope="prototype">
    <property name="lookupableHelperService">
      <ref bean="lookupableHelperService"/>
    </property>

  </bean>

	<bean id="lookupableHelperService" class="org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl" scope="prototype">
		<property name="persistenceStructureService">
			<ref bean="persistenceStructureService" />
		</property>
		<property name="businessObjectDictionaryService">
			<ref bean="businessObjectDictionaryService" />
		</property>
		<property name="dataDictionaryService">
			<ref bean="dataDictionaryService" />
		</property>
		<property name="encryptionService">
			<ref bean="encryptionService" />
		</property>
		<property name="lookupService">
			<ref bean="lookupService" />
		</property>
		<property name="businessObjectMetaDataService">
			<ref bean="businessObjectMetaDataService" />
		</property>
		<property name="sequenceAccessorService">
			<ref bean="sequenceAccessorService" />
		</property>
		<property name="businessObjectService">
			<ref bean="businessObjectService" />
		</property>
		<property name="lookupResultsService">
			<ref bean="lookupResultsService" />
		</property>
	</bean>

	<bean id="lookupResultsService" class="org.kuali.rice.kns.lookup.LookupResultsServiceImpl">
		<property name="businessObjectService">
			<ref bean="businessObjectService" />
		</property>
		<property name="persistedLookupMetadataDao">
			<ref bean="persistedLookupMetadataDao" />
		</property>
		<property name="dataDictionarySupportStrategy">
			<ref bean="dataDictionaryLookupResultsSupportStrategyService" />
		</property>
		<property name="persistableBusinessObjectSupportStrategy">
			<ref bean="persistableBusinessObjectLookupResultsSupportStrategyService" />
		</property>
	</bean>

	<bean id="dataDictionaryLookupResultsSupportStrategyService" class="org.kuali.rice.kns.lookup.DataDictionaryLookupResultsSupportStrategy">
		<property name="dataDictionaryService">
			<ref bean="dataDictionaryService" />
		</property>
	</bean>

	<bean id="persistableBusinessObjectLookupResultsSupportStrategyService" class="org.kuali.rice.kns.lookup.PersistableBusinessObjectLookupResultsSupportStrategyImpl">
		<property name="businessObjectService">
			<ref bean="businessObjectService" />
		</property>
	</bean>

   <bean id="businessObjectMetaDataService" class="org.kuali.rice.kns.service.impl.BusinessObjectMetaDataServiceImpl">
    <property name="businessObjectDictionaryService">
      <ref bean="businessObjectDictionaryService"/>
    </property>
    <property name="dataDictionaryService">
      <ref bean="dataDictionaryService"/>
    </property>
    <property name="persistenceStructureService">
      <ref bean="persistenceStructureService"/>
    </property>
    <property name="kualiModuleService">
      <ref bean="kualiModuleService"/>
    </property>
    <property name="viewDictionaryService">
      <ref bean="viewDictionaryService"/>
    </property>
  </bean>

   <bean id="parameterLookupable" class="org.kuali.rice.kns.lookup.KualiLookupableImpl" parent="kualiLookupable">
    <property name="lookupableHelperService">
      <bean class="org.kuali.rice.coreservice.web.parameter.ParameterLookupableHelperServiceImpl"
            parent="lookupableHelperService">
      </bean>
    </property>
  </bean>

  <bean id="componentLookupable" class="org.kuali.rice.kns.lookup.KualiLookupableImpl" parent="kualiLookupable">
    <property name="lookupableHelperService">
      <bean class="org.kuali.rice.coreservice.web.component.ComponentLookupableHelperServiceImpl"
            parent="lookupableHelperService">
      </bean>
    </property>
  </bean>

  <bean id="pessimisticLockLookupable" class="org.kuali.rice.kns.lookup.KualiLookupableImpl" scope="prototype">
     <property name="lookupableHelperService">
       <ref bean="pessimisticLockLookupableHelperService"/>
     </property>
   </bean>

   <bean id="pessimisticLockLookupableHelperService"
         class="org.kuali.rice.kns.lookup.PessimisticLockLookupableHelperServiceImpl" scope="prototype">
     <property name="persistenceStructureService">
       <ref bean="persistenceStructureService"/>
     </property>
     <property name="businessObjectDictionaryService">
       <ref bean="businessObjectDictionaryService"/>
     </property>
     <property name="dataDictionaryService">
       <ref bean="dataDictionaryService"/>
     </property>
     <property name="encryptionService">
       <ref bean="encryptionService"/>
     </property>
     <property name="lookupService">
       <ref bean="lookupService"/>
     </property>
     <property name="businessObjectMetaDataService">
       <ref bean="businessObjectMetaDataService"/>
     </property>
     <property name="sequenceAccessorService">
       <ref bean="sequenceAccessorService"/>
     </property>
     <property name="businessObjectService">
       <ref bean="businessObjectService"/>
     </property>
     <property name="lookupResultsService">
       <ref bean="lookupResultsService"/>
     </property>
   </bean>

   <bean class="org.springframework.web.context.support.ServletContextAttributeExporter">
    <property name="attributes">
      <map>
        <entry key="DataDictionary" value="#{dataDictionaryService.dataDictionaryMap}"/>
      </map>
    </property>
  </bean>

    <bean id="businessObjectSerializerService"
        class="org.kuali.rice.kns.service.impl.BusinessObjectSerializerServiceImpl">
    <property name="persistenceService">
      <ref bean="persistenceService"/>
    </property>
    <property name="xmlObjectSerializerService">
      <ref bean="xmlObjectSerializerService"/>
    </property>
  </bean>

  <bean id="buttonPermissionTypeService" class="org.kuali.rice.kns.service.impl.ButtonPermissionTypeServiceImpl"/>

  <bean id="componentFieldPermissionTypeService"
        class="org.kuali.rice.kns.service.impl.ComponentFieldPermissionTypeServiceImpl"/>

  <bean id="componentSectionPermissionTypeService"
        class="org.kuali.rice.kns.service.impl.ComponentSectionPermissionTypeServiceImpl"/>

  <bean id="documentHelperService" class="org.kuali.rice.kns.service.impl.DocumentHelperServiceImpl"/>

  </beans>
New to GrepCode? Check out our FAQ X