Seams : it is place where you can alter behavior in a program without editing in that place
Seam Enabling points :It is place where you can make the decision to use one behavior or another
In the above snippet, suppose we do not want to save any thing to data base or alter the save behavior. this place is called the seam
Seams types :
- Pre-processing seams (enabling point is Pre-processors)
- Link seams(enabling point is the classpath where you can change the assembly )
- Object seams(enabling point is the class constructor)
No comments:
Post a Comment