Update URM Version to 1.4.4 and regenerated all puml files

This commit is contained in:
NooBxGockeL
2016-11-26 12:51:06 +01:00
parent 8574e06966
commit 7d995056ff
85 changed files with 1885 additions and 1742 deletions

View File

@ -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