Tuesday, 10 September 2013

spring custome events:how to raise an event whenever a property values changed in spring bean

spring custome events:how to raise an event whenever a property values
changed in spring bean

Can you please help me how to write the code for following scenario:
I have a class called A
class A
{
private int a;
private String name;
private status;
//setters and getters
}
If(any property values changed) then raise an event (for suppose
PropertyChangeEvent) then execute the logic in class B...
class B
{
someLogic() {}
}

No comments:

Post a Comment