[jboss-cvs] jboss-seam/src/remoting/org/jboss/seam/remoting/gwt ...
Gavin King
gavin.king at jboss.com
Wed Jun 20 13:47:21 EDT 2007
User: gavin
Date: 07/06/20 13:47:21
Modified: src/remoting/org/jboss/seam/remoting/gwt
GWTRemoteService.java GWTToSeamAdapter.java
Log:
refactored interception annotations
Revision Changes Path
1.3 +2 -3 jboss-seam/src/remoting/org/jboss/seam/remoting/gwt/GWTRemoteService.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: GWTRemoteService.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/remoting/org/jboss/seam/remoting/gwt/GWTRemoteService.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- GWTRemoteService.java 16 Jun 2007 02:21:44 -0000 1.2
+++ GWTRemoteService.java 20 Jun 2007 17:47:21 -0000 1.3
@@ -1,6 +1,5 @@
package org.jboss.seam.remoting.gwt;
-import static org.jboss.seam.InterceptionType.NEVER;
import static org.jboss.seam.ScopeType.APPLICATION;
import static org.jboss.seam.annotations.Install.BUILT_IN;
@@ -18,10 +17,10 @@
import javax.servlet.http.HttpServletResponse;
import org.jboss.seam.annotations.Install;
-import org.jboss.seam.annotations.Intercept;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Startup;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.remoting.gwt.GWTToSeamAdapter.ReturnedObject;
import org.jboss.seam.servlet.AbstractResource;
@@ -48,7 +47,7 @@
@Scope(APPLICATION)
@Name("org.jboss.seam.remoting.gwt.gwtRemoteService")
@Install(precedence = BUILT_IN, classDependencies = {"com.google.gwt.user.client.rpc.RemoteService"})
- at Intercept(NEVER)
+ at BypassInterceptors
public class GWTRemoteService extends AbstractResource {
/*
1.4 +2 -3 jboss-seam/src/remoting/org/jboss/seam/remoting/gwt/GWTToSeamAdapter.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: GWTToSeamAdapter.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/remoting/org/jboss/seam/remoting/gwt/GWTToSeamAdapter.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- GWTToSeamAdapter.java 16 Jun 2007 02:21:44 -0000 1.3
+++ GWTToSeamAdapter.java 20 Jun 2007 17:47:21 -0000 1.4
@@ -1,6 +1,5 @@
package org.jboss.seam.remoting.gwt;
-import static org.jboss.seam.InterceptionType.NEVER;
import static org.jboss.seam.ScopeType.APPLICATION;
import static org.jboss.seam.annotations.Install.BUILT_IN;
@@ -11,10 +10,10 @@
import org.jboss.seam.Component;
import org.jboss.seam.annotations.Install;
-import org.jboss.seam.annotations.Intercept;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.WebRemote;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.util.EJB;
/**
@@ -24,7 +23,7 @@
*/
@Scope(APPLICATION)
@Name("org.jboss.seam.remoting.gwt.gwtToSeamAdapter")
- at Intercept(NEVER)
+ at BypassInterceptors
@Install(precedence=BUILT_IN)
public class GWTToSeamAdapter {
More information about the jboss-cvs-commits
mailing list