Fix service.xml fie.

This commit is contained in:
Paulo Gustavo Veiga 2012-09-11 21:22:38 -03:00
parent a263a05520
commit 69912ecef4
2 changed files with 4 additions and 5 deletions

View File

@ -288,11 +288,11 @@ public class MindmapServiceImpl
this.notificationService = notificationService; this.notificationService = notificationService;
} }
public void setAdminUser(String adminUser) { public void setAdminUser(@NotNull String adminUser) {
this.adminUser = adminUser; this.adminUser = adminUser;
} }
public String getAdminUser() { @NotNull public String getAdminUser() {
return adminUser; return adminUser;
} }
} }

View File

@ -35,11 +35,10 @@
<property name="mindmapManager" ref="mindmapManager"/> <property name="mindmapManager" ref="mindmapManager"/>
<property name="userService" ref="userService"/> <property name="userService" ref="userService"/>
<property name="notificationService" ref="notificationService"/> <property name="notificationService" ref="notificationService"/>
<property name="adminUser" ref="${admin.user}/> <property name="adminUser" value="${admin.user}"/>
</bean> </bean>
<bean id="mindmapService" <bean id="mindmapService" class="org.springframework.aop.framework.ProxyFactoryBean">
class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces" value="com.wisemapping.service.MindmapService"/> <property name="proxyInterfaces" value="com.wisemapping.service.MindmapService"/>
<property name="interceptorNames"> <property name="interceptorNames">
<list> <list>