plantuml code

@startuml

"xmlBeanFactory: XmlBeanFactory" -> "reader:XmlBeanDefinitionReader" : 1: loadBeanDefinitions(resource)
activate "xmlBeanFactory: XmlBeanFactory"
activate "reader:XmlBeanDefinitionReader"
"reader:XmlBeanDefinitionReader" -> "encodedResource:EncodedResource" : 1.1: new EncodedResource(resource)

activate "encodedResource:EncodedResource"
"encodedResource:EncodedResource" --> "reader:XmlBeanDefinitionReader" : 1.2: encodedResource:EncodedResource
deactivate "encodedResource:EncodedResource"
"reader:XmlBeanDefinitionReader" -> "reader:XmlBeanDefinitionReader": 1.3: loadBeanDefinitions(encodedResource)
activate "reader:XmlBeanDefinitionReader"
"reader:XmlBeanDefinitionReader" -> "encodedResource:EncodedResource": 1.3.1: getResource()
activate "encodedResource:EncodedResource"
"encodedResource:EncodedResource" --> "reader:XmlBeanDefinitionReader" : 1.3.2: resource:Resource
deactivate "encodedResource:EncodedResource"
"reader:XmlBeanDefinitionReader" -> "resource:Resource" : 1.3.3: getInputStream()
activate "resource:Resource"
"resource:Resource" --> "reader:XmlBeanDefinitionReader": inputStream: InputStream
deactivate "resource:Resource"
"reader:XmlBeanDefinitionReader" -> "inputSource: InputSource": 1.3.5: new InputStream(inputSource)
activate "inputSource: InputSource"
"inputSource: InputSource" --> "reader:XmlBeanDefinitionReader": 1.3.6: inputSource: InputSource
deactivate "inputSource: InputSource"

"reader:XmlBeanDefinitionReader" -> "reader:XmlBeanDefinitionReader": 1.3.7: loadBeanDefinitions((inputSource, encodedResource.getResource()))
activate "reader:XmlBeanDefinitionReader"
"reader:XmlBeanDefinitionReader" --> "reader:XmlBeanDefinitionReader": 1.3.3: loadedBeanDefinitionNum:int
deactivate "reader:XmlBeanDefinitionReader"
"reader:XmlBeanDefinitionReader" --> "reader:XmlBeanDefinitionReader": 1.3.4: loadedBeanDefinitionNum:int
deactivate "reader:XmlBeanDefinitionReader"

"reader:XmlBeanDefinitionReader" --> "xmlBeanFactory: XmlBeanFactory": 1.3.4: loadedBeanDefinitionNum:int
deactivate "reader:XmlBeanDefinitionReader"
deactivate "xmlBeanFactory: XmlBeanFactory"
@enduml

img

loadBeanDefinitions sequence diagram


yich_chia
8 声望3 粉丝