Project
IntelliJ IDEA
Priority
Normal
Type
Feature
Fix versions
No Fix versions
State
Fixed
Assignee
Peter Gromov
Subsystem
J2EE.Spring
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Taras Tielkes
    4 years ago (04 Jun 2007 16:27)
  • Updated by   root
    2 years ago (17 Jan 2010 20:47)
  • Jira: IDEADEV-17510
    (history, comments)
 
IDEA-38971 @transaction-manager completion/resolving
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
On elements <tx:advice> and <tx:annotation-driven>, the attribute "transaction-manager" should work like a ref="..." that expects type org.springframework.transaction.PlatformTransactionManager.

At the moment there is completion coming from "default" attribute declaration in schema, but it inserts invalid value if my transaction manager has a different bean name.

Issue was resolved
Comments (3)
 
History
 
Linked Issues (?)
 
Taras Tielkes
  Taras Tielkes
01 Oct 2007 17:22
4 years ago
I'm not sure if this is still needed, since Peter added support for schema annotations.
Taras Tielkes
  Taras Tielkes
08 Oct 2007 18:50
4 years ago
Attached is a simple patch that provides typed resolving for 'transaction-manager' attribute.
Taras Tielkes
  Taras Tielkes
08 Oct 2007 19:03
4 years ago
Acually I'm not sure if there's a benefit in declaring the getTransactionManager() method return type as MetadataRefValue. GenericAttributeValue<SpringBeanPointer> seems to work just as well.