Hi Tobias,
maybe just put your own implementation in a 2nd bean definition file. The
2nd definition override the 1st as described in
http://www.springframework.org/docs/api/org/springframework/context/support/
ClassPathXmlApplicationContext.html
And have a look at the web.xml in src/main/webapp/WEB-INF/
<!-- Context Configuration locations for Spring XML files -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath*:/applicationContext-resources.xml
classpath*:/applicationContext-dao.xml
classpath*:/applicationContext-service.xml
classpath*:/applicationContext.xml
/WEB-INF/applicationContext*.xml
/WEB-INF/xfire-servlet.xml
/WEB-INF/security.xml
</param-value>
</context-param>
I am not sure how it is done in appfuse 2.0. Maybe it will already work if
you put your own definition in applicationContext-service.xml
René
-----Ursprüngliche Nachricht-----
Von: Tobias Vogel [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 6. Juni 2007 11:06
An: [email protected]
Betreff: [appfuse-user] Overriding User-Manager
Hi all,
I am currently using a AppFuse 2.0-M5 archetype (Spring-MVC modular) for
building a backend for a Spring-RCP app. I ran into some synchronization
issues, which I mostly solved - but one. For this purpose I'll need to
override the save-Method of the UserManager for debugging (the
UserManager currently wraps all database exceptions as
UserExistsException without deploying the original Throwable-Object).
Is there a simple way to configure AppFuse to take my own UserManager
instead of the AppFuse one (without checking out source, recompiling and
installing via maven)?.
Kind regards,
Tobias
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]