David Illsley wrote: > Hi all, > I've just been reviewing the AddressingOutHandler and noticed that it > sets an instance variable in the invoke method which it then uses > later in another method. I've reviewed the architecture docs and the > Handler Javadoc but neither tell me if this is ok or not. > > An investigation of the Phase code suggests to me that it is not - > that for a given service there is a single instance of a Handler and > so instance variables should not be used as the same instance may be > invoked simultaneously from multiple threads. Is this correct and/or > is there any documentation about this that I've missed? If there is something like that, I do accept all the complaints and please feel free to correct it.
-- Chinthaka
signature.asc
Description: OpenPGP digital signature