Files
Adelya abbc33295d feat: Feature/virtual proxy (#2955)
* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern #2940

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement Virtual Proxy pattern, tests added

* feature: Implement Virtual Proxy pattern iluwatar#2940

* feature: Implement Virtual Proxy pattern iluwatar#2940

* refactoring: proxy/pom.xml
2024-05-15 09:53:36 +03:00

30 lines
647 B
Plaintext

@startuml
class Client {
+ main(args : String[]) {static}
}
class RealVideoObject {
- videoData : String
+ RealVideoObject()
+ process()
+ getVideoData() : String
- heavyInitialConfiguration() : void
}
interface ExpensiveObject {
+ process() {abstract}
}
class VideoObjectProxy {
- realVideoObject : RealVideoObject
+ VideoObjectProxy()
+ process()
+ setRealVideoObject(realVideoObject : RealVideoObject) : void
+ getRealVideoObject() : RealVideoObject
}
VideoObjectProxy --> "-realVideoObject" RealVideoObject
RealVideoObject ..|> ExpensiveObject
VideoObjectProxy ..|> ExpensiveObject
@enduml