On Wed, 27 Oct 2004 08:05:05 -0400, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> As I've been thinking about getting events to work propertly for
> threaded and pooled services, I've realized that the ServiceModel
> should be involved in event registration.  I.e.
> 
> void addEventRegistration(Object source, String eventSetName)
> 

Sounds good.  Would this be a new method on the ServiceModel
interface?  Who would be responsible for invoking it?

> The service model would then be responsible for registering the core
> service implementation with the given source and even set after it is
> created. For primtive/singleton it will simply perform the
> registrations.  For threaded/pooled it will create a proxy (the first
> time) that obtains the CSI and delegates to it. When we implement
> prototype, it will log an error and ignore the event registration
> (prototype services are to ephemeral for service registrations).
> 

Didn't quite understand how this would work with the threaded and
pooled models...

--knut

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to