jboss-remoting/jboss-marshalling — pull request #10 by fharms (2013-04-16 13:43:43+00:00)
Title: JBMAR-149 : Support for hook into the serialization process

JBMAR-149 : Support for hook into the serialization processwith ObjectResolver before the user replacement is called

Added an extra hook to the ObjectResolver interface to be called before ObjectTable lookup. I'm not sure about the name of the hook "preWriteReplace" but it's the best name I could come up with.

I'm unsure about the changes to SerializingCloner is the right approach, but it make sense to call it inside the replace block to prevent infinity loop