well,at least I learned something: my services are not specific enough, they should be divided into more speicific ones.
and thanks
AvalonFrom: "hammett" <[EMAIL PROTECTED]> Reply-To: "Avalon framework users" <[EMAIL PROTECTED]> To: "Avalon framework users" <[EMAIL PROTECTED]> Subject: Re: Fortress: strange behavior Date: Fri, 16 Jan 2004 00:36:38 -0300
----- Original Message ----- From: "Mu Mike" <[EMAIL PROTECTED]>
> dont you think this is too strict?
If you down_cast your interface to an implementation why do you need
anyway? The interface represents a service, and your client should no bethe
aware - or care - about its implementation. From time to time the
implementation can be changed and your clients would broke if you use in
way you proposed.declared
> every implementaion of a Service must have all its public methods
> in the interface,and if you happen to need to add a public method to ato
> specific implemetation class, you must declare it in the Interface,and
> since other implementations may need not use that method, you will have
> have an abstract class also,just such a right rule.the
Maybe you have a not well design application. Try to search for holes in
services contracts, not in Avalon.
regards, hammett
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]