|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandFactory
Interface for the command factory. This interface has to be implemented in the command factory. In the system can be more than one command factory but just one instance of each.
Method Summary | |
---|---|
Command |
getCommand(String key)
Default constructor using the settings of the commands.properties file. |
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |