link mingle home | logged in as: guest | login/register| help


  Home
 
Command Design Pattern
The Command design pattern encapsulates the concept of the command into an object. The issuer holds a reference to the command object rather than to the recipient. The issuer sends the command to the command object by executing a specific method on it. The command object is then responsible for dispatching the command to a specific recipient to get the job done.

created by syam1224 on 2008-05-08 21:33:18

12
Votes
Command GoF DP
Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
http://www.dofactory.com/Patterns/PatternCommand.a
created by syam1224 on 2008-05-08 21:38:54
Java Tip 68: Learn how to implement the Command pattern in Java
Since Java doesn't have function pointers, we can use the Command pattern to implement callbacks. You'll see this in action in the first code example below, called TestCommand.java.
http://www.javaworld.com/javaworld/javatips/jw-jav
created by syam1224 on 2008-05-08 21:35:06
Command Design Pattern exciton.cs.rice.edu
When two objects communicate, often one object is sending a command to the other object to perform a particular function. The most common way to accomplish this is for the first object (the "issuer") to hold a reference to the second (the "recipient"). The issuer executes a specific method on the recipient to send the command.
http://exciton.cs.rice.edu/javaresources/DesignPat
created by syam1224 on 2008-05-08 21:36:02
Command Design pattern from wikipedia
In object-oriented programming, the Command pattern is a design pattern in which objects are used to represent actions. A command object encapsulates an action and its parameters.
http://en.wikipedia.org/wiki/Command_pattern
created by syam1224 on 2008-05-08 21:37:13
 



Enter the string above
 
 
Home
Thumbnails by Thumbshots.net