This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

AnnouncementAnnouncement Module

Collapse

No announcement yet.

General use sample classes not available in core/infrastructure artifactsPage Title Module

These were all classes developed for the samples project, but could be used as is by many projects. If you search the spring-batch fisheye repository, several of these classes are duplicated multiple times in the code base because they are so useful, but it is not practical to depend on a samples project to pull real production classes.

Could these classes be reviewed and moved into sb-infrastructure, or core to enable them to be used as general purpose classes?

DatasourceInitializer is part of spring 3 (or at least that has that functionality). There are different LogAdvice (debug,trace, performance) in the core spring project so no need to duplicate those...

The others I don't know but the SimpleMessageApplicationEvent I have my doubts about that one... But that is just IMHO .

Comment

I had a feeling that those classes had to exist somewhere. If they are in core spring, (or spring-jdbc, etc.) Then I would request that the samples project change to use the pre-packaged classes.

As for the jmx advice classes, they could probably be in their own module. I can see usefulness to have steps published to jmx without having to write my own class that looks just like the one in the sample project.