public interface CommandFactory
Modifier and Type | Method and Description |
---|---|
Command |
getCommand(String key)
Default constructor using the settings of the commands.properties file.
|
Command getCommand(String key)
Algorithm of the command creating:
first:
lookup, if the command is already in the cache
second:
create command, if not already in the cache otherwise next point.
third:
return the created command.
key
- of the command (ID)Copyright © 2024 levigo holding gmbh. All rights reserved.