[jboss-cvs] jboss-seam/src/ioc/org/jboss/seam/ioc/spring ...
Gavin King
gavin.king at jboss.com
Mon Jun 18 17:32:03 EDT 2007
User: gavin
Date: 07/06/18 17:32:02
Modified: src/ioc/org/jboss/seam/ioc/spring SpringComponent.java
Log:
make @Destroy optional on default @Remove method
Revision Changes Path
1.10 +2 -3 jboss-seam/src/ioc/org/jboss/seam/ioc/spring/SpringComponent.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SpringComponent.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ioc/org/jboss/seam/ioc/spring/SpringComponent.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- SpringComponent.java 14 Jun 2007 23:08:04 -0000 1.9
+++ SpringComponent.java 18 Jun 2007 21:32:00 -0000 1.10
@@ -8,7 +8,6 @@
import org.jboss.seam.Component;
import org.jboss.seam.InterceptionType;
import org.jboss.seam.ScopeType;
-import org.jboss.seam.Component.BijectedAttribute;
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.contexts.Lifecycle;
import org.jboss.seam.init.Initialization;
@@ -182,9 +181,9 @@
* @see org.jboss.seam.Component#callDestroyMethod(Object)
*/
@Override
- public void callDestroyMethod(Object instance)
+ public void destroy(Object instance)
{
- super.callDestroyMethod(instance);
+ super.destroy(instance);
// Cannot call the callback on a STATELESS bean because we have no way of storing it.
if (getScope() != ScopeType.STATELESS)
{
More information about the jboss-cvs-commits
mailing list