META-INF.base-spring.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-impl Show documentation
Show all versions of portal-impl Show documentation
Contains implementation for the portal services.
<?xml version="1.0"?> <beans default-destroy-method="destroy" default-init-method="afterPropertiesSet" xmlns="http://www.springframework.org/schema/beans" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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" > <bean class="com.liferay.portal.security.lang.DoPrivilegedFactory" /> <bean class="com.liferay.portal.spring.aop.DynamicProxyCreator" factory-method="getDynamicProxyCreator" /> <bean class="com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator"> <property name="beanMatcher"> <bean class="com.liferay.portal.spring.aop.ServiceBeanMatcher"> <constructor-arg value="true" /> </bean> </property> <property name="methodInterceptor" ref="counterTransactionAdvice" /> </bean> <bean class="com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator"> <property name="beanMatcher"> <bean class="com.liferay.portal.spring.aop.ServiceBeanMatcher" /> </property> <property name="methodInterceptor" ref="serviceAdvice" /> </bean> <bean class="com.liferay.portal.spring.bean.BeanReferenceAnnotationBeanPostProcessor" /> <bean id="basePersistence" abstract="true"> <property name="dataSource" ref="liferayDataSource" /> <property name="sessionFactory" ref="liferaySessionFactory" /> </bean> <bean id="serviceAdvice" class="com.liferay.portal.spring.aop.SkipAdvice"> <property name="nextMethodInterceptor" ref="accessControlAdvice" /> </bean> <bean id="accessControlAdvice" class="com.liferay.portal.security.ac.AccessControlAdvice"> <property name="accessControlAdvisor"> <bean class="com.liferay.portal.security.ac.AccessControlAdvisorImpl" /> </property> <property name="nextMethodInterceptor" ref="portalResiliencyAdvice" /> </bean> <bean id="portalResiliencyAdvice" class="com.liferay.portal.resiliency.service.PortalResiliencyAdvice"> <property name="nextMethodInterceptor" ref="asyncAdvice" /> </bean> <bean id="asyncAdvice" class="com.liferay.portal.messaging.async.AsyncAdvice"> <property name="defaultDestinationName" value="liferay/async_service" /> <property name="nextMethodInterceptor" ref="threadLocalCacheAdvice" /> </bean> <bean id="threadLocalCacheAdvice" class="com.liferay.portal.cache.ThreadLocalCacheAdvice"> <property name="nextMethodInterceptor" ref="bufferedIncrementAdvice" /> </bean> <bean id="bufferedIncrementAdvice" class="com.liferay.portal.increment.BufferedIncrementAdvice"> <property name="nextMethodInterceptor" ref="indexableAdvice" /> </bean> <bean id="indexableAdvice" class="com.liferay.portal.search.IndexableAdvice"> <property name="nextMethodInterceptor" ref="systemEventAdvice" /> </bean> <bean id="systemEventAdvice" class="com.liferay.portal.systemevent.SystemEventAdvice"> <property name="nextMethodInterceptor" ref="transactionAdvice" /> </bean> <bean id="counterTransactionAdvice" class="com.liferay.portal.spring.transaction.TransactionInterceptor"> <property name="platformTransactionManager" ref="counterTransactionManager" /> <property name="transactionAttributeSource" ref="transactionAttributeSource" /> <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 id="transactionAdvice" class="com.liferay.portal.spring.transaction.TransactionInterceptor"> <property name="platformTransactionManager" ref="liferayTransactionManager" /> <property name="transactionAttributeSource" ref="transactionAttributeSource" /> <property name="transactionExecutor" ref="transactionExecutor" /> </bean> <bean id="transactionAttributeSource" class="com.liferay.portal.spring.transaction.AnnotationTransactionAttributeSource" /> <bean id="transactionExecutor" class="com.liferay.portal.spring.transaction.TransactionExecutorFactory" factory-method="createTransactionExecutor"> <constructor-arg ref="liferayTransactionManager" /> <constructor-arg value="false" /> </bean> <bean class="com.liferay.portal.spring.transaction.TransactionalCallableUtil"> <property name="platformTransactionManager" ref="liferayTransactionManager" /> <property name="transactionExecutor" ref="transactionExecutor" /> </bean> </beans>