[ 
http://issues.apache.org/jira/browse/MUSE-47?page=comments#action_12423754 ] 
            
Dan Jemiolo commented on MUSE-47:
---------------------------------

I believe Andrew has code to get the other capabilities via 
Analyzer.getCapabilities( ), which provides a Map[uri, Capability]. each 
Capability can return its property names. The utility method proposed should 
simply tie together the static stuff (standard caps) and the getCapabilities() 
lookup.

We should not put this utility in muse-util because it will have a dependency 
on all of the ws-* modules - if muse-util has a dependency on muse-ws*-api, 
then users must include all those modules even if they do not use them, which 
defeats the purpose of modularizing them in the first place. muse-tools already 
depends on all modules, so in the interest of dependency and bundle management, 
the utility should go there. Since the SimpleAnalyzer code has the means of 
offering both static and custom capability info, it would be ideal to simply 
tie the two things together in one method. Andrew?

> Utility methods for finding properties per capability
> -----------------------------------------------------
>
>                 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
>            Priority: Minor
>
> I'd like to propose additional code that provides the functions of finding 
> all properties that belong to a 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.

-- 
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]

Reply via email to