UML generation: Mark the urm-maven-plugin execution to be ignored in Eclipse and recreate all .puml files
This commit is contained in:
@ -1,25 +1,10 @@
|
||||
@startuml
|
||||
package com.iluwatar.servicelocator {
|
||||
interface Service {
|
||||
+ execute() {abstract}
|
||||
+ getId() : int {abstract}
|
||||
+ getName() : String {abstract}
|
||||
}
|
||||
class InitContext {
|
||||
+ InitContext()
|
||||
+ lookup(serviceName : String) : Object
|
||||
}
|
||||
class ServiceLocator {
|
||||
- serviceCache : ServiceCache {static}
|
||||
- ServiceLocator()
|
||||
+ getService(serviceJndiName : String) : Service {static}
|
||||
}
|
||||
class ServiceCache {
|
||||
- serviceCache : Map<String, Service>
|
||||
+ ServiceCache()
|
||||
+ addService(newService : Service)
|
||||
+ getService(serviceName : String) : Service
|
||||
}
|
||||
class App {
|
||||
+ App()
|
||||
+ main(args : String[]) {static}
|
||||
@ -32,6 +17,21 @@ 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}
|
||||
}
|
||||
}
|
||||
ServiceLocator --> "-serviceCache" ServiceCache
|
||||
ServiceImpl ..|> Service
|
||||
|
Reference in New Issue
Block a user