Do you have a design for such a component? Sounds like a good idea... assuming that the component will manage the sockects (switchable from io to nio or whatever). Then we can provide adapters to other listeners, assuming the target components export control to change the listener in this manner.
There will always be components which don't support this so we need to provide another option as well, but it sounds like a listener component should be fairly easy to implement... as to keeping it generic enough to cover our current set of listining components I can't really say. --jason Peter Fagerlund wrote: >on 04-04-2 22.43, Jason Dillon at [EMAIL PROTECTED] wrote: > >>What does a listener factory do... can you explain in more detail. >> > >It creates and manages listerners. > >Since We have 3-7 + ServerSockets in the VM at any one time it could be good >with one way to manage them in the same way to ease maintenece ... also have >one place to ask what listerners are running on a node ... > >Could also maybe help with stability ? ... since if I for a reson would like >to restart a service containing a listerner I would not need to stop and >clear the SS for the service just hand the restarted service the same SS >when it comes back up ... maybe even with que'ed requests ... > >/peter_f > >>--jason >> >> >>Peter Fagerlund wrote: >> >>>Maybe a central listener factory could hand out listerner objects to >>>services and from there also manage multiple instance detection plus >>>migration of services depending on A-VM going down while B-VM are using for >>>example A-VM's JNP. >>> >>>/peter_f >>> >>> >>>_______________________________________________ >>>Jboss-development mailing list >>>[EMAIL PROTECTED] >>>https://lists.sourceforge.net/lists/listinfo/jboss-development >>> >> > > >_______________________________________________ >Jboss-development mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-development > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development