It's needed for the distributed environment when the Endpoint information is
propagated from a remote node to the local node through XML
serialization/deseralization. The deserialized Endpoint needs to be rebound
to the local ExtensionPointRegistry to perform certain functions. The same
could happen for EndpointReference too.
Thanks,
Raymond
--------------------------------------------------
From: "Luciano Resende" <[email protected]>
Sent: Sunday, September 20, 2009 2:55 PM
To: "tuscany-dev" <[email protected]>
Subject: [2.x] Endpoint Interface and ExtensionPointRegistry
The current Endpoint interface has a method to set the
ExtensionPointRegistry, while trying to understand why this was done
on the Endpoint interface, I played with removing this form the
interface.. and although it seems to e used in the endpoint-tribes
module, removing it didn't seem to cause any bad side effect on the
build. Do we really need this on the Endpoint interface ?
--
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/