« Framework Spring/Configuration par annotations » : différence entre les versions
Contenu supprimé Contenu ajouté
ajout de code |
m <source> -> <syntaxhighlight> (phab:T237267) |
||
Ligne 17 :
Classe principale :
<
package mainPackage;
Ligne 35 :
}
}
</syntaxhighlight>
Première classe d'affichage :
<
package mainPackage;
Ligne 72 :
}
}
</syntaxhighlight>
Seconde classe d'affichage, appelée par la première :
<
package mainPackage;
Ligne 102 :
}
}
</syntaxhighlight>
Affichage du résultat :
<syntaxhighlight>
mai 09, 2018 5:57:39 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFOS: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2328c243: startup date [Wed May 09 17:57:39 CEST 2018]; root of context hierarchy
Ligne 115 :
mai 09, 2018 5:57:40 PM org.springframework.context.support.AbstractApplicationContext doClose
INFOS: Closing org.springframework.context.support.ClassPathXmlApplicationContext@2328c243: startup date [Wed May 09 17:57:39 CEST 2018]; root of context hierarchy
</syntaxhighlight>
|