openamf/src/java/org/openamf/invoker ServiceInvoker.java,1.10,1.11
[email protected] Fri, 15 Aug 2003 09:53:14 -0700
| Newsgroups | gmane.comp.java.openamf.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openamf/openamf/src/java/org/openamf/invoker
In directory sc8-pr-cvs1:/tmp/cvs-serv23680/src/java/org/openamf/invoker
Modified Files:
ServiceInvoker.java
Log Message:
added prepare method to ServiceInvoker
Index: ServiceInvoker.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/invoker/ServiceInvoker.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ServiceInvoker.java 9 Aug 2003 16:59:22 -0000 1.10
--- ServiceInvoker.java 15 Aug 2003 16:53:12 -0000 1.11
***************
*** 81,84 ****
--- 81,93 ----
public abstract boolean supports(ServiceRequest request);
+ /**
+ * Called before invokeService and after supports (if you're using the DefaultGateway)
+ * Can be used to determine if the service should be persisted
+ * @param request
+ */
+ public void prepare(ServiceRequest request) {
+ }
+
+
public static ServiceInvoker load(
String className,
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01