-
Jul 24th, 2007, 10:20 AM
#1
Recognizing bean properties added by an AspectJ inter-type member declaration?
I'm using AspectJ to provide a default interface implementation with inter-type member declarations. SpringIDE thinks there is an error in a spring xml config file where bean properties that have been added by the aspect are set.
For example, class A implements B. The aspect declares a setFoo method on B, which A picks up because it implements B. A bean definition in xml for an object of type A causes a SpringIDE error for the property foo.
<bean class="A">
<property name="foo" value="bar" /> <!-- SpringIDE error -->
</bean
Is supporting this case out of scope for the SpringIDE project? If so it would be nice to be able to control whether this situation is treated as a error, warning or ignored, just like you can do with java compiler for certain things in java source files.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules