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) 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). -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
