META-INF.infrastructure-spring.xml Maven / Gradle / Ivy
<?xml version="1.0"?> <beans default-destroy-method="destroy" default-init-method="afterPropertiesSet" 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-3.0.xsd" > <bean class="com.liferay.portal.service.PersistedModelLocalServiceRegistryImpl" id="com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry" /> <bean class="com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistryUtil"> <property name="persistedModelLocalServiceRegistry" ref="com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry" /> </bean> <bean class="com.liferay.portal.kernel.util.InfrastructureUtil"> <property name="dataSource" ref="liferayDataSource" /> <property name="transactionManager" ref="liferayTransactionManager" /> </bean> <bean class="com.liferay.portal.spring.aop.AopConfigurableApplicationContextConfigurator" id="configurableApplicationContextConfigurator" /> <bean class="org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy" id="liferayDataSource"> <property name="targetDataSource"> <bean class="com.liferay.portal.dao.jdbc.spring.DataSourceFactoryBean"> <property name="dataSource"> <bean class="com.liferay.portal.dao.init.DBInitUtil" factory-method="getDataSource" /> </property> </bean> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy