Cannot get WidgetImplementationFactory (NoSuchMethodException)
--------------------------------------------------------------
Key: TUSCANY-3247
URL: https://issues.apache.org/jira/browse/TUSCANY-3247
Project: Tuscany
Issue Type: Bug
Components: Java SCA Widget
Affects Versions: Java-SCA-1.5
Reporter: Andrew Mak
The following exception is thrown when trying to get a
WidgetImplementationFactory from the ModelFactoryExtensionPoint:
Caused by: java.lang.NoSuchMethodException:
org.apache.tuscany.sca.implementation.widget.WidgetImplementationFactory.newInstance()
at java.lang.Class.throwNoSuchMethodException(Class.java:283)
at java.lang.Class.getMethod(Class.java:825)
at
org.apache.tuscany.sca.extensibility.ServiceDiscovery.newFactoryClassInstance(ServiceDiscovery.java:165)
at
org.apache.tuscany.sca.contribution.DefaultModelFactoryExtensionPoint.getFactory(DefaultModelFactoryExtensionPoint.java:118)
I tried newing a WidgetImplementationFactory myself and then adding it the
ModelFactoryExtensionPoint. However, the factory does not appear to get cached
(seems to be due to the fact that WidgetImplementationFactory does not
implement any interface and extends directly from Object)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.