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

META-INF.base-spring.xml Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
<?xml version="1.0"?>

<beans
	default-destroy-method="destroy"
	default-init-method="afterPropertiesSet"
	xmlns="http://www.springframework.org/schema/beans"
	xmlns:util="http://www.springframework.org/schema/util"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
>
	<bean abstract="true" id="basePersistence">
		<property name="dataSource" ref="liferayDataSource" />
		<property name="sessionFactory" ref="liferaySessionFactory" />
	</bean>
	<bean class="com.liferay.portal.cache.thread.local.ThreadLocalCacheAdvice" id="threadLocalCacheAdvice">
		<property name="nextMethodInterceptor" ref="bufferedIncrementAdvice" />
	</bean>
	<bean class="com.liferay.portal.increment.BufferedIncrementAdvice" id="bufferedIncrementAdvice">
		<property name="nextMethodInterceptor" ref="indexableAdvice" />
	</bean>
	<bean class="com.liferay.portal.kernel.transaction.TransactionInvokerUtil" id="com.liferay.portal.kernel.transaction.TransactionInvokerUtil">
		<property name="transactionInvoker">
			<bean class="com.liferay.portal.spring.transaction.TransactionInvokerImpl">
				<property name="transactionExecutor" ref="transactionExecutor" />
			</bean>
		</property>
	</bean>
	<bean class="com.liferay.portal.messaging.async.AsyncAdvice" id="asyncAdvice">
		<property name="defaultDestinationName" value="liferay/async_service" />
		<property name="nextMethodInterceptor" ref="threadLocalCacheAdvice" />
	</bean>
	<bean class="com.liferay.portal.resiliency.service.PortalResiliencyAdvice" id="portalResiliencyAdvice">
		<property name="nextMethodInterceptor" ref="asyncAdvice" />
	</bean>
	<bean class="com.liferay.portal.search.IndexableAdvice" id="indexableAdvice">
		<property name="nextMethodInterceptor" ref="systemEventAdvice" />
	</bean>
	<bean class="com.liferay.portal.security.access.control.AccessControlAdvice" id="accessControlAdvice">
		<property name="nextMethodInterceptor" ref="portalResiliencyAdvice" />
	</bean>
	<bean class="com.liferay.portal.service.ServiceContextAdvice" id="serviceContextAdvice">
		<property name="nextMethodInterceptor" ref="retryAdvice" />
	</bean>
	<bean class="com.liferay.portal.spring.aop.AopProxyFactoryImpl" id="aopProxyFactory">
		<property name="methodInterceptor" ref="serviceAdvice" />
	</bean>
	<bean class="com.liferay.portal.spring.aop.DynamicProxyCreator" factory-method="getDynamicProxyCreator" />
	<bean class="com.liferay.portal.spring.aop.RetryAdvice" id="retryAdvice">
		<property name="nextMethodInterceptor" ref="transactionAdvice" />
	</bean>
	<bean class="com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator">
		<property name="aopProxyFactory">
			<bean class="com.liferay.portal.spring.aop.AopProxyFactoryImpl">
				<property name="methodInterceptor" ref="counterTransactionAdvice" />
			</bean>
		</property>
		<property name="beanMatcher">
			<bean class="com.liferay.portal.spring.aop.ServiceBeanMatcher">
				<constructor-arg value="true" />
			</bean>
		</property>
	</bean>
	<bean class="com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator">
		<property name="aopProxyFactory" ref="aopProxyFactory" />
		<property name="beanMatcher">
			<bean class="com.liferay.portal.spring.aop.ServiceBeanMatcher" />
		</property>
	</bean>
	<bean class="com.liferay.portal.spring.aop.SkipAdvice" id="serviceAdvice">
		<property name="nextMethodInterceptor" ref="accessControlAdvice" />
	</bean>
	<bean class="com.liferay.portal.spring.bean.BeanReferenceAnnotationBeanPostProcessor" />
	<bean class="com.liferay.portal.spring.transaction.TransactionExecutorFactory" factory-method="createTransactionExecutor" id="transactionExecutor">
		<constructor-arg ref="liferayTransactionManager" />
		<constructor-arg value="false" />
	</bean>
	<bean class="com.liferay.portal.spring.transaction.TransactionInterceptor" id="counterTransactionAdvice">
		<property name="transactionExecutor">
			<bean class="com.liferay.portal.spring.transaction.TransactionExecutorFactory" factory-method="createTransactionExecutor">
				<constructor-arg ref="counterTransactionManager" />
				<constructor-arg value="true" />
			</bean>
		</property>
	</bean>
	<bean class="com.liferay.portal.spring.transaction.TransactionInterceptor" id="transactionAdvice">
		<property name="transactionExecutor" ref="transactionExecutor" />
	</bean>
	<bean class="com.liferay.portal.systemevent.SystemEventAdvice" id="systemEventAdvice">
		<property name="nextMethodInterceptor" ref="serviceContextAdvice" />
	</bean>
	<bean class="com.liferay.portal.transaction.TransactionLifecycleManagerInitializer">
		<property name="transactionLifecycleListeners">
			<list>
				<util:constant static-field="com.liferay.portal.kernel.cache.thread.local.ThreadLocalCacheManager.TRANSACTION_LIFECYCLE_LISTENER" />
				<util:constant static-field="com.liferay.portal.spring.hibernate.LastSessionRecorderUtil.TRANSACTION_LIFECYCLE_LISTENER" />
				<util:constant static-field="com.liferay.portal.kernel.cache.transactional.TransactionalPortalCacheHelper.TRANSACTION_LIFECYCLE_LISTENER" />
				<util:constant static-field="com.liferay.portal.kernel.transaction.TransactionLifecycleNotifier.TRANSACTION_LIFECYCLE_LISTENER" />
				<util:constant static-field="com.liferay.portal.kernel.transaction.TransactionCommitCallbackUtil.TRANSACTION_LIFECYCLE_LISTENER" />
			</list>
		</property>
	</bean>
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy