You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Andrew Eberbach (JIRA)" <ji...@apache.org> on 2006/09/15 19:39:27 UTC

[jira] Assigned: (MUSE-107) Error in handling of

     [ http://issues.apache.org/jira/browse/MUSE-107?page=all ]

Andrew Eberbach reassigned MUSE-107:
------------------------------------

    Assignee: Andrew Eberbach  (was: Dan Jemiolo)

> Error in handling of  <desc:java-capability-class>
> --------------------------------------------------
>
>                 Key: MUSE-107
>                 URL: http://issues.apache.org/jira/browse/MUSE-107
>             Project: Muse
>          Issue Type: Bug
>          Components: Tooling - Code Generation
>    Affects Versions: 2.0.0
>            Reporter: Steve Jerman
>         Assigned To: Andrew Eberbach
>
> If you specify an implementing class, for example:
>         <desc:capability xmlns:desc="http://ws.apache.org/muse/descriptor">
>             <desc:capability-uri>${modelXsdNamespace}</desc:capability-uri>
>             <desc:java-capability-class>com.cisco.nm.cmp.wsdm.SystemOperations</desc:java-capability-class>
>         </desc:capability>
> ClassInfo.java doesn't handle it correctly. I uses the same name for ther Interface and the abstract class.
> Adding :
> 		if(implementingClass == null) {
> 			_packageName = getPackageName(capability.getURI());
> 			_classShortName = JAVA_CLASS_NAME;
> 			_classFullName = _packageName + "." + _classShortName;
> 			_capability.setImplementingClass(_classFullName + IMPLEMENTATION_SUFFIX);
> 		} else {
> 			_classFullName = implementingClass;
> 			_classShortName = ReflectUtils.getShortName(_classFullName);
> 			_packageName = ReflectUtils.getPackageName(_classFullName);
> ------>                _capability.setImplementingClass(implementingClass + IMPLEMENTATION_SUFFIX);
> 		}
> Sorts it..

-- 
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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org