<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
	<!--
	 | The default application context for uPortal. Other spring configurations
	 | should be added to the list in beanRefFactory.xml if they have beans that need to be avalable
	 | in the uPortal application context.
	 +-->
	 
	<!--
	  | Here we define additional startup checks.  These are in addition to hard-coded checks that
	  | are intended to detect problems that would prevent us from reading in and using these 
	  | configurable checks.
	  +-->
	<bean id='checkRunner' class="org.jasig.portal.tools.checks.BasicCheckRunner">
		<property name="checks">
			<list>
				
				<!--
				  | Check that a bean named personAttributeDao of type
				  | IPersonAttributeDao is available via the PortalApplicationContextFacade.
				  +-->
				<bean class="org.jasig.portal.tools.checks.SpringBeanCheck">
					<!-- We are checking for the Spring-configured bean named "personAttributeDao". -->
					<constructor-arg index="0" type="java.lang.String">
						<value>personAttributeDao</value>
					</constructor-arg>
					<!-- We are checking that that bean is an instanceof this class. -->
					<constructor-arg index="1" type="java.lang.String">
						<value>org.jasig.portal.services.persondir.IPersonAttributeDao</value>
					</constructor-arg>
				</bean>
				
				<!--
				  | Check for a class that will only be present in JAXP 1.3 is present.
				  | We attempt with this check to catch and assist deployers who neglect to
				  | make the JAXP 1.3 jars available in a JDK 1.4 environment.
				  | This is the runtime equivalent of the Ant-build-time invocation of LibCheck.
				  +-->
				<bean class="org.jasig.portal.tools.checks.XalanVersionCheck">
					<constructor-arg index="0" type="java.lang.String">
						<value>Xalan Java 2.6.0</value>
					</constructor-arg>
				</bean>
				<commit_msg>UP-1208 Made checkRunner lazy-init to make PortletApplicationContextFacade usable outside of JNDI context.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
	<!--
	 | The default application context for uPortal. Other spring configurations
	 | should be added to the list in beanRefFactory.xml if they have beans that need to be avalable
	 | in the uPortal application context.
	 +-->
	 
	<!--
	  | Here we define additional startup checks.  These are in addition to hard-coded checks that
	  | are intended to detect problems that would prevent us from reading in and using these 
	  | configurable checks.
	  |
	  | This bean is lazy-init so that it will not be instantiated by Spring
	  | unless actually needed.  This reduces the chance that a broken checks
	  | configuration, or one that depends on resources that are unavailable
	  | (such as JNDI resources outside the context of a JNDI container) 
	  | will not break the use of a uPortal administrative tool / break a 
	  | uPortal deployment.
	  |
	  +-->
	<bean id='checkRunner' 
	    class="org.jasig.portal.tools.checks.BasicCheckRunner"
	    lazy-init="true">
		<property name="checks">
			<list>
				
				<!--
				  | Check that a bean named personAttributeDao of type
				  | IPersonAttributeDao is available via the PortalApplicationContextFacade.
				  +-->
				<bean class="org.jasig.portal.tools.checks.SpringBeanCheck">
					<!-- We are checking for the Spring-configured bean named "personAttributeDao". -->
					<constructor-arg index="0" type="java.lang.String">
						<value>personAttributeDao</value>
					</constructor-arg>
					<!-- We are checking that that bean is an instanceof this class. -->
					<constructor-arg index="1" type="java.lang.String">
						<value>org.jasig.portal.services.persondir.IPersonAttributeDao</value>
					</constructor-arg>
				</bean>
				
				<!--
				  | Check for a class that will only be present in JAXP 1.3 is present.
				  | We attempt with this check to catch and assist deployers who neglect to
				  | make the JAXP 1.3 jars available in a JDK 1.4 environment.
				  | This is the runtime equivalent of the Ant-build-time invocation of LibCheck.
				  +-->
				<bean class="org.jasig.portal.tools.checks.XalanVersionCheck">
					<constructor-arg index="0" type="java.lang.String">
						<value>Xalan Java 2.6.0</value>
					</constructor-arg>
				</bean>
				
{'fraction_non_alphanumeric': 0.10832587287376902, 'fraction_numerical': 0.007609668755595345, 'mean_word_length': 3.0664240218380345, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 2, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4648723', 'n_tokens_mistral': 1546, 'n_tokens_neox': 1257, 'n_words': 439}