This has been something I have been thinking about for a while, but have not 
had a use case to push it yet (until now).  Currently, the best solution would 
be to add custom parameters to your locator url.  For exaple, can add via 
configuration something like 'mothership=true' as a parameter to your mother 
ship server locator urls.  Then client can get all the registered servers from 
the NetworkRegistry and get their locator url parameters as a Map to see which 
ones are mothership.  

In the future, I would like some way to expose information about the handlers 
for the servers as well.  This would certainly include the subsystem they were 
added as and possibly some kind of other metadata (i.e class name, user 
defined, etc.).  This could be added to the detection message and thus the 
NetworkNotification that gets fired upon new servers being discovered.  

Feel free to pitch ideas.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871403#3871403

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871403


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to