Just looked at the spring source, just look at the time is very clear, come over a while to see, I do not know where the class was, so I think I have to draw a few class diagram, so I can see understand. The problem is that I used to learn UML when using the school's computer, the software is Rose, my computer is WIN10 system, not compatible with Rose, so simply learn how to use STARTUML drawing class diagram.
First create a new empty project, choose Emptyproject
Then create a model
It is said that the following thing must be changed, what are the constraints and rules of the project.
You can save it next.
Find the title bar view, we can see that there are these things, the toolbox selected, we want to use this thing to draw
I feel better when I see this thing. It's obviously a drag-and-drop, and then the picture's gone.
I drew a picture like this, this is a class, the class name is xmlbeanfactory, not I think of such a long name, is I want to use this to draw the spring class diagram, so do it first. This class has a property of two methods
As for this class diagram, select Class to drag it directly, then enter the name. Here is the option to add a property
Select attribute to add a property, and select operation to add a method. I didn't use the template Parameter, so I'm not going to talk about it.
We have a method that must have parameters and return values.
I finished the painting is this appearance, do not guarantee that, I also just see this thing. I'm not responsible for the problem.
Be sure to open the Properties panel before making any changes.
For now, a simple class diagram is complete. Extended content wait till I finish drawing the class diagram of spring.
Startuml Getting Started