In our project we're using Spring Framework and now I need to intercept any method call to any object method. Does Spring provide such a facility? I mean, for instance we have a method:
public void m(){
MyClass a = new MyClass();
a.method(); //I need to intercept that method call and invoke some stuff
}
Is such a thing possible?
Aucun commentaire:
Enregistrer un commentaire