History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WSVC-154
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Assignee: AdvancedTools Support
Reporter: Mark Rollins
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
WebServices

Spring integration - setting properties requirires concrete class instead of interface.

Created: 08 Feb 08 13:53   Updated: 19 Feb 08 16:23
Component/s: None
Affects Version/s: None
Fix Version/s: 0.9.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. IntelliJ1.jpg
(337 kb)

2. IntelliJ2.jpg
(287 kb)

3. intelliJ3.jpg
(344 kb)
Environment: Win XP

Build: 7,684


 Description  « Hide
I have a class which use Spring to set certain properties. The properties are defined as interfaces and the concrete implementation of these is defined in references to beans in the aplicationContext.xml files(s). This is all standard Spring.

However, IntelliJ has determined that this class is a web service (yes I'm using it as a service layer class, but no it's not a web service), and that the setters used by Spring have the following error...

"Web Service Method Problem:Class com.fpi.bonddata.ValuationBuilder not public or does not allow instatiation"

This must be a bug as there is nothing to specify that this class is a web service, and also it is standard practice in Spring to specify interfaces everywhere except in the context files.



 All   Comments   Work Log   Change History      Sort Order:
Mark Rollins - 08 Feb 08 18:22
This is implementation file for ContractDataServices. The valuationBuilder, contractRoleProvider and contractDataBuilder properties are interfaces which have concrete implementations.

Mark Rollins - 08 Feb 08 18:25
This is the context file for the ContractDataServicesImpl class showing the property ref to contractRoleProvider, valuationBuilder and contractDataBuilder beans.

Mark Rollins - 08 Feb 08 18:27
This is the business layer context file.