Due to a bug in one of Spring IDE’s validation rule that was fixed post-RC1 and a small glitch in Spring’s AOP namespace handler implementation, our latest nightly build ships a Spring 2.1 OSGi bundle. Therefore we could enable the support for two additional features that were already implemented.
The AOP feature now supports Spring 2.1’s new bean(<name pattern>) pointcut primitive that enables you to specifiy a certain bean or a set of beans for pointcut matching. For example the pointcut definition
<aop:pointcut expression="bean(serviceBean)" />
would only match on a bean named serviceBean. Certainly you can combine the bean pointcut primitive with any other primitive that is supported by Spring. It even works for @AspectJ-style aspects.
The second and last new feature - we are now feature complete for the 2.0 stream - is support for <context:component-scan />. Read Mark’s blog for more information on this new feature. Beans created by the class path scanning infrastructure are recognized by Spring IDE and handled as normal beans; though they are visually marked with an @ icon decoration.


0 Responses to “Last Minute Features for 2.0”