Revision: 1224
Author: mathiasbr
Date: 2006-07-14 23:59:08 -0700 (Fri, 14 Jul 2006)
ViewCVS: http://svn.sourceforge.net/spring-rich-c/?rev=1224&view=rev
Log Message:
-----------
added javadoc comments
Modified Paths:
--------------
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/ActionCommandInterceptor.java
Modified:
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/ActionCommandInterceptor.java
===================================================================
---
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/ActionCommandInterceptor.java
2006-07-14 15:42:14 UTC (rev 1223)
+++
trunk/spring-richclient/support/src/main/java/org/springframework/richclient/command/ActionCommandInterceptor.java
2006-07-15 06:59:08 UTC (rev 1224)
@@ -15,8 +15,30 @@
*/
package org.springframework.richclient.command;
+/**
+ * Implementations of this interface can be assigned to an action command to
+ * intercept command execution.
+ *
+ * @author Keith Donald, Mathias Broekelmann
+ */
public interface ActionCommandInterceptor {
- public boolean preExecution(ActionCommand command);
- public void postExecution(ActionCommand command);
+ /**
+ * Will be called before the action command is executed.
+ *
+ * @param command
+ * the action command which gets executed
+ * @return If false the action command and any subsequent action command
+ * interceptor will not get executed. If true the action command
+ * will be executed.
+ */
+ public boolean preExecution(ActionCommand command);
+
+ /**
+ * Will be called after successfull execution of an action command.
+ *
+ * @param command
+ * the action command which was executed.
+ */
+ public void postExecution(ActionCommand command);
}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs