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

Add xsd description for default handling of autowire and lazy-init attributes [SPR-13038] #17630

Closed
spring-issuemaster opened this issue May 17, 2015 · 2 comments

Comments

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

commented May 17, 2015

Kazuki Shimizu opened SPR-13038 and commented

Currently, description for the default mode of autowiring does not exist in reference document and xsd file.

The reference document say "The autowiring functionality has five modes. ". But in "Table 5.2. Autowiring", it describe about four modes.
In other words, a description for the default mode does not describe.
In the spring-beans.xsd, there is as similar description.

If possible , i hope adding a description of default mode in reference document and xsd file.

Thanks.


Affects: 4.1.6

Referenced from: commits e6f99ff

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented May 18, 2015

Juergen Hoeller commented

In fact, there are just four modes of autowiring now. The fifth mode indicated in the reference documentation refers to the former "autodetect" mode which isn't exposed anymore.

The "default" value in the xsd just refers to inheritance from the <beans> level, i.e. from the 'default-autowire' attribute. I've documented that behavior in the xsd, also for 'default-lazy-init'.

Juergen

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented May 18, 2015

Kazuki Shimizu commented

Thank you for adding descriptions of default in xsd file.

In fact, there are just four modes of autowiring now. ...
I understand it.

Thanks.

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.