Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section 5.2.1 references TaskletAdapter class, but it should be MethodInvokingTaskletAdapter [BATCH-1550] #2003

Closed
spring-issuemaster opened this issue Apr 8, 2010 · 0 comments

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Apr 8, 2010

Murilo Rodrigues opened BATCH-1550 and commented

The example in section 5.2.1 of the documentation references TaskletAdapter class, but it should be MethodInvokingTaskletAdapter. Also, the FooDao bean declaration is missing closing slash.

The example should be:

<bean id="myTasklet" class="org.springframework.batch.core.step.tasklet.MethodInvokingTaskletAdapter">
<property name="targetObject">
<bean class="org.mycompany.FooDao"/>
</property>
<property name="targetMethod" value="updateFoo" />
</bean>


Affects: 2.1.0

Referenced from: commits f71f61d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.