Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Accès rapide :






Vous êtes un professionnel et vous avez besoin d'une formation ?

Développement Web
avec Java/Jakarta EE


Voir le programme détaillé
ESN Inovelya : Nous recrutons
<h1>AOP (Aspect-Oriented Programming) - Mise en oeuvre via l'approche XML</h1> <p>Avec l'approche XML : voici le code de notre aspect . package fr.koor.samples; import org.aspectj.lang.JoinPoint; public class LoggingAspect { public LoggingAspect() { System.out.println( "aspect class created" ); } public void logMethodEntry( JoinPoint joinPoint ) { System.out.println( "entry" ); } public void logMethodExit( JoinPoint joinPoint ) { System.out.println( "exit" ); } }</p> Diapositive précédente Diapositive suivante