Wrong DS error message when using ServiceFactory #1921
Unanswered
phermsdorf
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Sadly this is currently not supported see if you find this useful (like me) please leave a comment there so we can have this in DS 1.6 specification and later be supported by PDE as well. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i recently tried to replace programmatically registration of ServiceFactory classes by using DS Annotations instead.
Background: instead of registering a concrete implementation for a service there is the possibility to instead register a ServiceFactory for the Service and when a service object is needed ServiceFactory.getService is called. (for more information see please the javadoc of ServiceFactory)
I came up with something like this:
which basically works as expected. The corresponding .xml file is generated and the SerficeFactory get's called then a CatalogManager service is requested.
The only problem is, that in the Java Editor an error is displayed:

I think that is a wrong error message. What do others think about that?
Thanks for loooking into the issue.
Bye Peter
Beta Was this translation helpful? Give feedback.
All reactions