samedi 13 juin 2015

How to intercept an in class method calling in JavaEE?

Interceptors can intercept a method when it's called by another class. Is there any possible to intercept a method when it's called by any other methods within its own class?

Case: write a logger interceptor to trace all method callings to prevent putting loggers to every classes and methods.

Aucun commentaire:

Enregistrer un commentaire