i have a bean method : doXX (String a, String b)
And, i use this method in an other one
class Y {
X x;
...
doYY () {
....
x.doXX(A, B);
...
}
}
i want to change the paramters A, B to specific values
let's suppose that real values are : TEST, TEST
I want to set them always : TEST_en, TEST_en (i want to add "_en")
the method "doXX" is used a lot : so i don't want to change teh code source : it will take a lot of time.
Can i do it with AOP?
my container : Spring