Update URM Version to 1.4.4 and regenerated all puml files
This commit is contained in:
@ -1,15 +1,28 @@
|
||||
@startuml
|
||||
package com.iluwatar.servicelocator {
|
||||
class ServiceLocator {
|
||||
- serviceCache : ServiceCache {static}
|
||||
- ServiceLocator()
|
||||
+ getService(serviceJndiName : String) : Service {static}
|
||||
}
|
||||
class App {
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
}
|
||||
class InitContext {
|
||||
- LOGGER : Logger {static}
|
||||
+ InitContext()
|
||||
+ lookup(serviceName : String) : Object
|
||||
}
|
||||
interface Service {
|
||||
+ execute() {abstract}
|
||||
+ getId() : int {abstract}
|
||||
+ getName() : String {abstract}
|
||||
}
|
||||
class ServiceCache {
|
||||
- LOGGER : Logger {static}
|
||||
- serviceCache : Map<String, Service>
|
||||
+ ServiceCache()
|
||||
+ addService(newService : Service)
|
||||
+ getService(serviceName : String) : Service
|
||||
}
|
||||
class ServiceImpl {
|
||||
- LOGGER : Logger {static}
|
||||
- id : int
|
||||
- serviceName : String
|
||||
+ ServiceImpl(serviceName : String)
|
||||
@ -17,20 +30,10 @@ package com.iluwatar.servicelocator {
|
||||
+ getId() : int
|
||||
+ getName() : String
|
||||
}
|
||||
class InitContext {
|
||||
+ InitContext()
|
||||
+ lookup(serviceName : String) : Object
|
||||
}
|
||||
class ServiceCache {
|
||||
- serviceCache : Map<String, Service>
|
||||
+ ServiceCache()
|
||||
+ addService(newService : Service)
|
||||
+ getService(serviceName : String) : Service
|
||||
}
|
||||
interface Service {
|
||||
+ execute() {abstract}
|
||||
+ getId() : int {abstract}
|
||||
+ getName() : String {abstract}
|
||||
class ServiceLocator {
|
||||
- serviceCache : ServiceCache {static}
|
||||
- ServiceLocator()
|
||||
+ getService(serviceJndiName : String) : Service {static}
|
||||
}
|
||||
}
|
||||
ServiceLocator --> "-serviceCache" ServiceCache
|
||||
|
Reference in New Issue
Block a user