Hi,
Since the Service Handler interface does not conform to the PortableInterface anyhow,
I would like to suggest to extend the parameter lists of its methods so that the
target object's repository id and the name of the
requested/replied operation be available in the callback handlers. Both (rep id and
operation name) are available 3 or 4 level above up in the call stack, so all what we
need to do is pass them onto the called methods.
I know changing an interface is a tough proposition, but it is probably not that much
tough considering that it would be extended and not really changed. On the up side
would be the possibility, that based on these
new parameters, much more functionality could be concentrated in the service handlers.
For examle, the security related code could be significantly reduced in the
implementation of the business objects, because
much of the authorization could be done in the service handlers based on the object's
identity and the operation requested. Wouldn't it be nice, it this was possible?
Peter
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonathan".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".