[ http://issues.apache.org/jira/browse/MUSE-47?page=comments#action_12423371 ] Dan Jemiolo commented on MUSE-47: ---------------------------------
Please split these into separate items by moving the service group item to a new request under the service groups category. I will then change this item to just focus on the capability/property assocations. > Utility methods for finding properties per capability and traversing service > groups > ----------------------------------------------------------------------------------- > > Key: MUSE-47 > URL: http://issues.apache.org/jira/browse/MUSE-47 > Project: Muse > Issue Type: Improvement > Components: Utilities - General, QName, and XML > Affects Versions: 2.0.0 M1 > Reporter: Balan Subramanian > Assigned To: Dan Jemiolo > > I'd like to propose additional code that provides the functions of: > 1. Finding all properties that belong to a capability > 2. Traversing service groups for resources that implement a particular > capability > The first function can be implemented by comparing the namespace URI of > properties implemented by a particular resource with the namespace URI of the > capability. While this is not mandated by the spec, this is an useful > convention to follow and most probably, tooling around WSDM could enforce > this (based on user preference). We can specify this limitation in the > documentation. Also for standard capabilities, it will use the the PROPERTIES > array from the WS-* interfaces for standard capabilities. This function can > be added to a MuwsUtils class. > The second function will use the content property specified for each service > group entry to determine whether it implements the specified capability. It > will also recurse through contained service groups. This function can be > added to a WssgUtils class. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
