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

Documentation - Marker Interface Confusion [SPR-4499] #9177

Closed
spring-issuemaster opened this issue Feb 25, 2008 · 2 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Feb 25, 2008

Yagiz Erkan opened SPR-4499 and commented

Here is an excerpt from the 3rd Chapter of the official Spring Framework documentation:


3.5.1. Lifecycle callbacks
The Spring Framework provides several marker interfaces to change the behavior of your bean in the container; they include InitializingBean and DisposableBean.


I think the above-mentioned excerpt is confusing because InitializingBean and DisposableBean don't conform to the typical definition of a Marker Interface as they both contain behavior (methods).


Affects: 2.0.8, 2.5.1

Backported to: 2.0.9

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Feb 25, 2008

Juergen Hoeller commented

Indeed, good point. Thanks for spotting this!

Juergen

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Feb 25, 2008

Juergen Hoeller commented

FWIW, I've used the term "callback interfaces" there now. This should be clearer.

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.