[jboss-cvs] JBossAS SVN: r60350 - trunk/ejb3/src/main/org/jboss/ejb3/stateful.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Feb 6 17:47:19 EST 2007
Author: bstansberry at jboss.com
Date: 2007-02-06 17:47:18 -0500 (Tue, 06 Feb 2007)
New Revision: 60350
Modified:
trunk/ejb3/src/main/org/jboss/ejb3/stateful/ProxiedStatefulBeanContext.java
Log:
[EJBTHREE-850] ProxiedStatefulBeanContext suppresses @PrePassivate and @PostActivate
Modified: trunk/ejb3/src/main/org/jboss/ejb3/stateful/ProxiedStatefulBeanContext.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/ejb3/stateful/ProxiedStatefulBeanContext.java 2007-02-06 22:32:01 UTC (rev 60349)
+++ trunk/ejb3/src/main/org/jboss/ejb3/stateful/ProxiedStatefulBeanContext.java 2007-02-06 22:47:18 UTC (rev 60350)
@@ -43,6 +43,9 @@
public class ProxiedStatefulBeanContext extends StatefulBeanContext implements
Externalizable
{
+ /** The serialVersionUID */
+ private static final long serialVersionUID = -5156610459343035743L;
+
private transient StatefulBeanContext delegate;
private Object oid;
@@ -104,13 +107,23 @@
parentRef = (StatefulBeanContextReference) in.readObject();
}
-// public void prePassivate()
-// {
-// }
+ /**
+ * Ignores the call, as passivation of this proxy context
+ * does not affect the underlying bean (which is passivated
+ * along with its parent context).
+ */
+ public void prePassivate()
+ {
+ }
-// public void postActivate()
-// {
-// }
+ /**
+ * Ignores the call, as activation of this proxy context
+ * does not affect the underlying bean (which is activated
+ * along with its parent context).
+ */
+ public void postActivate()
+ {
+ }
public List<StatefulBeanContext> getContains()
{
More information about the jboss-cvs-commits
mailing list