forked from liferay/liferay-portal
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LPS-27238 Rollback changes to ServiceBuilder that remove cluster-spri…
…ng.xml from plugins, it is needed after all
- Loading branch information
1 parent
9189c30
commit 2fb11f0
Showing
3 changed files
with
57 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
portal-impl/src/com/liferay/portal/tools/servicebuilder/dependencies/spring_cluster_xml.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?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/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd" | ||
> | ||
<bean id="com.liferay.portal.spring.aop.ChainableMethodAdviceInjector" class="com.liferay.portal.spring.aop.ChainableMethodAdviceInjector"> | ||
<property name="injectCondition"> | ||
<util:constant static-field="com.liferay.portal.util.PropsValues.CLUSTER_LINK_ENABLED" /> | ||
</property> | ||
<property name="newChainableMethodAdvice"> | ||
<bean class="com.liferay.portal.cluster.ClusterableAdvice"> | ||
<property name="servletContextName" ref="servletContextName" /> | ||
</bean> | ||
</property> | ||
<property name="parentChainableMethodAdvice" ref="serviceAdvice" /> | ||
</bean> | ||
</beans> |