[jboss-cvs] JBossAS SVN: r60060 - trunk/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/nested.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Jan 27 17:59:23 EST 2007
Author: bstansberry at jboss.com
Date: 2007-01-27 17:59:23 -0500 (Sat, 27 Jan 2007)
New Revision: 60060
Modified:
trunk/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/nested/ParentStatefulBean.java
Log:
Improve logging
Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/nested/ParentStatefulBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/nested/ParentStatefulBean.java 2007-01-27 22:58:40 UTC (rev 60059)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/clusteredsession/nested/ParentStatefulBean.java 2007-01-27 22:59:23 UTC (rev 60060)
@@ -40,6 +40,9 @@
@Remote(ParentStatefulRemote.class)
public class ParentStatefulBean implements java.io.Serializable, ParentStatefulRemote
{
+ /** The serialVersionUID */
+ private static final long serialVersionUID = 1L;
+
private static Logger log = Logger.getLogger(ParentStatefulBean.class);
private int counter = 0;
private String state;
@@ -141,19 +144,22 @@
//it is a failover: we need to assign ourself an id
this.myId = new VMID();
}
- log.debug("Activate. My ID: " + this.myId + " name: " + this.name);
+ log.debug("Activate. My ID: " + this.myId + " name: " + this.name +
+ " activate count: " + postActivateCalled);
}
@PrePassivate
public void prePassivate()
{
++ParentStatefulBean.prePassivateCalled;
- log.debug("Passivate. My ID: " + this.myId + " name: " + this.name);
+ log.debug("Passivate. My ID: " + this.myId + " name: " + this.name +
+ " passivate count: " + prePassivateCalled);
}
@Remove
public void remove()
{
+ log.debug("Being removed");
}
@PostConstruct
More information about the jboss-cvs-commits
mailing list