[jboss-cvs] jboss-seam/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/action ...
Peter Muir
peter at bleepbleep.org.uk
Sat Oct 27 10:59:34 EDT 2007
User: pmuir
Date: 07/10/27 10:59:34
Modified: examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/action
ArtistHomeImpl.java
Log:
@Remove needs @BypassInterceptors to pass tests
Revision Changes Path
1.2 +4 -0 jboss-seam/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/action/ArtistHomeImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ArtistHomeImpl.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamdiscs/src/org/jboss/seam/example/seamdiscs/action/ArtistHomeImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ArtistHomeImpl.java 27 Oct 2007 14:56:34 -0000 1.1
+++ ArtistHomeImpl.java 27 Oct 2007 14:59:34 -0000 1.2
@@ -10,6 +10,7 @@
import org.jboss.seam.annotations.Factory;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.example.seamdiscs.model.Artist;
import org.jboss.seam.example.seamdiscs.model.Band;
import org.jboss.seam.example.seamdiscs.model.BandMember;
@@ -85,7 +86,10 @@
};
}
+ // Utility method for EJB3 to cleanup, don't do anything here, so no need
+ // for Seam to intercept.
@Remove
+ @BypassInterceptors
public void ejbRemove()
{
More information about the jboss-cvs-commits
mailing list