...
| Remarque |
|---|
ESUP-Commons V2 utilise Spring 3 |
Sommaire :
| Sommaire | ||
|---|---|---|
|
Tout au long de ce chapitre nous allons nous appuyer sur un exemple (configuration du gestionnaire d'exceptions) :
| Bloc de code |
|---|
<bean
id="exceptionServiceFactory"
class="org.esupportail.commons.services.exceptionHandling.CachingEmailExceptionServiceFactoryImpl"
parent="abstractApplicationAwareBean">
<property name="smtpService" ref="smtpService" />
<property name="recipientEmail" value="${exceptionHandling.email}" />
<property name="exceptionViews" >
<map>
<entry key="java.lang.Exception" value="go_exception" />
</map>
</property>
<property name="logLevel" value="${exceptionHandling.logLevel}" />
<property name="cacheManager" ref="cacheManager" />
<property name="cacheName" value="" />
</bean>
|
...
Sommaire :
| Sommaire | ||
|---|---|---|
|
...
Les fichiers de configuration
...