People
-
- Assignee:
- Robert Kasanicky
- Reporter:
- Richard Kettelerij
-
- Votes:
- 0
- Watchers:
- 0
Dates
-
- Created:
- 05/Nov/08 5:59 PM
- Updated:
- 24/Nov/08 9:50 AM
- Resolved:
- 24/Nov/08 9:50 AM
BATCH-282(a more generic approach, but I'll leave this one open until the parent is finished). In general if people want to implement this kind of thing we recommend an approach based on changing the thing that is injected into a reader/writer etc., rather than extending the existing components in spring-batch-infrastructure. Favour composition over inheritance. In this case it could be achieved by creating a factory for Resources[] that delays initialization until the step listener is called (like the StepExecutionResourceProxy).BATCH-282(a more generic approach, but I'll leave this one open until the parent is finished). In general if people want to implement this kind of thing we recommend an approach based on changing the thing that is injected into a reader/writer etc., rather than extending the existing components in spring-batch-infrastructure. Favour composition over inheritance. In this case it could be achieved by creating a factory for Resources[] that delays initialization until the step listener is called (like the StepExecutionResourceProxy).