|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface CommandInvoker
Acts as the Invoker in Command
pattern.
For more detailed documentation, refer to the
Command Design Pattern
.
See also: Command pattern in
Design Patterns: Elements of Reusable Object-Oriented Software
.
Command| Method Summary | |
|---|---|
void |
registerCommands(java.util.Properties props)
Used by the clients (which can be callback targets or other objects) to register concrete Command implementations to this Invoker. |
| Method Detail |
|---|
void registerCommands(java.util.Properties props)
Command implementations to this Invoker.
The properies passed as parameters usually contain String,
Command pairs that the invoker can use to find specific
command objects by their keys.
props - String, Command pairs
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||