SubDeployerSupport emits Notifications on every deployment step (init, create, start, stop, destroy) that piggyback the DeploymentInfo.
However this is the original DeploymentInfo and not a copy of it, so if a listener processes this notification in a different thread, the state of the DeploymentInfo changes.
Isn't the case that
a) the emiter should send away practically "immutable" stuff (or a copy of it therefore)?
b) the receiver should copy the notification if it intents to change it.
So in this case, SubDeployerSupport should send copies of the DeploymentInfo object.
Yes, a copy should be sent.