Calling the preAdd and postAdd in the replace methods. See DIRMINA-977
Merge branch '2.0' of http://git-wip-us.apache.org/repos/asf/mina into 2.0